Modify ↓
Ticket #6201 (closed bug: invalid)
insertAfter() bug in opera 10
| Reported by: | walidaly | Owned by: | |
|---|---|---|---|
| Priority: | Milestone: | 1.4.3 | |
| Component: | manipulation | Version: | 1.4.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
$('<p>hello world</p>').insertAfter('div').html('<p>xxxxxx</p>');
the new inserted object does not accept adding tags into it with html()
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

I'm confused - you're inserting paragraphs into paragraphs - is that what you meant to do? Paragraphs can only contain inline elements (of which a paragraph isn't one).