Opened 16 years ago
Closed 16 years ago
#1549 closed bug (fixed)
<tag/> in IE in jQuery 1.1.4
Reported by: | sullof | Owned by: | john |
---|---|---|---|
Priority: | major | Milestone: | 1.2 |
Component: | core | Version: | 1.1.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
If you launch in IE the following code
$("body").append($('<form id="testform" name="Hello"/>')) alert($("#testform").attr("name"))
jQuery 1.1.3 (and previous) returns "Hello" as we aspected. Instead jQuery 1.1.4 returns "undefined".
Change History (3)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
Owner: | set to john |
---|---|
Summary: | Problem with IE in jQuery 1.1.4 → <tag/> in IE in jQuery 1.1.4 |
Note: See
TracTickets for help on using
tickets.
This will alert "Hello" as expected
Avoid using $('<tag/>') syntax for elements that require a closing tag in IE. Should this be documented somewhere?