Skip to main content

Bug Tracker

Side navigation

#8418 closed bug (fixed)

Opened March 02, 2011 03:39AM UTC

Closed April 15, 2011 03:02AM UTC

Last modified March 09, 2012 08:46AM UTC

set name parameter using attr() method in IE 7

Reported by: pra_dar@yahoo.com Owned by:
Priority: high Milestone: 1.6
Component: attributes Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:
Description

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/

Attachments (0)
Change History (4)

Changed March 02, 2011 03:43AM UTC by pra_dar@yahoo.com comment:1

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.

Changed March 10, 2011 06:31PM UTC by rwaldron comment:2

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/

Changed March 10, 2011 06:32PM UTC by rwaldron comment:3

Changed April 15, 2011 03:02AM UTC by timmywil comment:4

milestone: 1.next1.6
resolution: → fixed
status: openclosed