Bug Tracker

Opened 12 years ago

Closed 12 years ago

#9148 closed bug (fixed)

Name attribute not set when using $(html, props) in IE7

Reported by: jmabey Owned by: timmywil
Priority: high Milestone: 1.next
Component: attributes Version: 1.6
Keywords: Cc:
Blocked by: Blocking:


When using the $(html, props) syntax to create a named form element, the name attribute is not set in IE7.

Test case: http://jsfiddle.net/jmabey/kMHN4/

Expected: The name attribute should be set when creating an element with $(html, props) in IE7.

  • Affects jQuery 1.6, 1.5.2, and older versions in JSFiddle.
  • Reproducible in IE7 on Windows 7 (using IE9's developer tools).
  • Not reproducible in IE8 and 9, Chrome 11, Firefox 3.6 and 4 on Windows 7.
  • Not reproducible in Firefox 4, Chrome 11 on Ubuntu 11.04.

Change History (2)

comment:1 Changed 12 years ago by timmywil

Component: unfiledattributes
Owner: set to timmywil
Priority: undecidedhigh
Status: newassigned

comment:2 Changed 12 years ago by timmywil

Resolution: fixed
Status: assignedclosed

Check empty string instead of specified as specified is inconsistent on the name attribute. Fixes #9148.

Changeset: c72b0f3256672424a193040509ed63c755c805a2

Note: See TracTickets for help on using tickets.