Ticket #8349 (closed bug: duplicate)
Cannot create complex elements
| Reported by: | StevenWellens@… | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.5.1 |
| Component: | manipulation | Version: | 1.5 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
This no longer works:
$test = $("<div>abc</div>");
Change History
comment:1 Changed 2 years ago by ajpiano
- Status changed from new to closed
- Resolution set to worksforme
comment:2 Changed 2 years ago by Steve Wellens
please read the bug reporting guidelines before filing.
FYI: That link has no text.
Try this:
comment:3 Changed 2 years ago by ajpiano
Whoops, mistyped the link, damn case sensitive URLS. http://docs.jquery.com/How_to_Report_Bugs
That fiddle that you linked alerts a length of 1 on both jQuery 1.4.4 and jQuery 1.5, as well as the latest Git version. Can you make a testcase that actually demonstrates the issue you're experiencing?
comment:4 Changed 2 years ago by Steve Wellens
I tried it with FireFox and it works.
It does not work under IE 9 Release Candiate.
comment:5 Changed 2 years ago by ajpiano
- Status changed from closed to reopened
- Resolution worksforme deleted
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

a) This is not a valid test case - please read the bug reporting guidelines before filing.
b) This definitely still works: http://jsfiddle.net/bMHJa/