Side navigation
#8112 closed bug (invalid)
Opened February 01, 2011 02:01AM UTC
Closed February 01, 2011 05:54AM UTC
Last modified February 02, 2011 12:01PM UTC
Set "name" attribute using attr doesn't work on IE 8
Reported by: | carloseugenio@gmail.com | Owned by: | carloseugenio@gmail.com |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | attributes | Version: | 1.5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi! This code:
//Getting the checkbox var checkbox = $row.find(':checkbox'); //Change the checkbox id and name checkbox.attr('id', 'disassociate-questions'); checkbox.attr('name', 'disassociate-questions'); var row_html_to_add = $row.html(); alert("Row html: " + row_html_to_add);
Alerts only id attribute changed to the new value. The attribute name doesn't change on IE8. In Chrome and Firefox it works correctly.
Regards.
Carlos Eugênio.
Attachments (0)
Change History (4)
Changed February 01, 2011 05:14AM UTC by comment:1
component: | unfiled → attributes |
---|---|
owner: | → carloseugenio@gmail.com |
status: | new → pending |
Changed February 01, 2011 05:54AM UTC by comment:2
_comment0: | Went a head and made one - works fine in IE8 (7, and 6 too) and chrome, etc . \ \ Hope this helps narrow down your problem, i suspect there is an error in your app somewhere: \ http://jsfiddle.net/danheberden/DM5t7/ → 1296539725020193 |
---|---|
_comment1: | Went ahead and made a test case: works fine in IE8 (7, and 6 too) and chrome, etc . \ \ Hope this helps narrow down your problem. I suspect there is an error in your app somewhere. \ \ http://jsfiddle.net/danheberden/DM5t7/ → 1296539822509754 |
resolution: | → invalid |
status: | pending → closed |
Went ahead and made a test case: works fine in IE8 (7, and 6 too) and chrome, etc .
Hope this helps narrow down your problem. I suspect there is an error in your app somewhere.
Changed February 01, 2011 12:32PM UTC by comment:3
priority: | undecided → low |
---|
Changed February 02, 2011 12:01PM UTC by comment:4
Sorry for not have seen the the bug reporting guide before. Nevertheless, I couldn't reproduce in jsfiddle either. I will double check what might have happened here.
Thanks for the time.
Thanks for taking the time to make a bug report! Please make sure you've follow the steps outlined in our bug reporting guide ( http://docs.jquery.com/How_to_Report_Bugs ) which includes making a distilled, runnable test-case on jsfiddle.net.
Looking forward to seeing the demo of your bug.