Ticket #9256 (closed bug: invalid)
No option to prepend / append nested divs?
|Reported by:||dimitrivorontzov@…||Owned by:||dimitrivorontzov@…|
Hi jQuery team! Kudos for developing web's hottest library, and a question:
today I tried to prepend a div within a div. No luck. App[arently, jQuery doesn't allow to. do so.
Here's what I did:
.prepend('<div id="outer-div"><div id="inner-div"></div></div>')
Alas, only the outer div ended up prepended to the page.
Am I missing something or is jQuery currently lacking the ability to prepend nested elements? Wouldn't it be cool to have this?
- Owner set to dimitrivorontzov@…
- Priority changed from undecided to low
- Status changed from new to pending
- Component changed from unfiled to manipulation