Skip to main content

Bug Tracker

Side navigation

#9148 closed bug (fixed)

Opened May 06, 2011 02:52PM UTC

Closed May 06, 2011 05:50PM UTC

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

Reported by: jmabey Owned by: timmywil
Priority: high Milestone:
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:

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.
Attachments (0)
Change History (2)

Changed May 06, 2011 05:49PM UTC by timmywil comment:1

component: unfiledattributes
owner: → timmywil
priority: undecidedhigh
status: newassigned

Changed May 06, 2011 05:50PM UTC by timmywil comment:2

resolution: → fixed
status: assignedclosed

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

Changeset: c72b0f3256672424a193040509ed63c755c805a2