Bug Tracker

Opened 5 years ago

Closed 5 years ago

Last modified 4 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:

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/

Change History (4)

comment:1 Changed 5 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 5 years ago by rwaldron

  • Component changed from unfiled to attributes
  • Priority changed from undecided to high
  • Status changed from new to open

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 5 years ago by timmywil

  • Milestone changed from 1.next to 1.6
  • Resolution set to fixed
  • Status changed from open to closed
Note: See TracTickets for help on using tickets.