Bug Tracker

Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#8418 closed bug (fixed)

set name parameter using attr() method in IE 7

Reported by: pra_dar@… Owned by:
Priority: high Milestone: 1.6
Component: attributes Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:


Looks like attr("name","value") method is not working to set name attribute value in IE 7. It works fine in IE 8 and other browsers.

Test case: http://jsfiddle.net/zRFnz/3/

Change History (4)

comment:1 Changed 13 years ago by pra_dar@…

To provide more details on above ticket, somehow in IE 7 while setting name attribute it sets 'submitName' attribute and not 'name' attribute. Somehow IE 7 is not allowing to set name attribute dynamically.

comment:2 Changed 13 years ago by Rick Waldron

Component: unfiledattributes
Priority: undecidedhigh
Status: newopen

Confirmed. This is due to a long standing issue in jQuery with regard to the difference between html attributes and element props.

Improved test: http://jsfiddle.net/rwaldron/zRFnz/5/

comment:4 Changed 12 years ago by Timmy Willison

Milestone: 1.next1.6
Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.