The before/after/insertBefore/insertAfter methods require a parentNode
so that the content can be inserted relative to the element. So, $
("<p>unusual</p>").after("<p>case</p>") will fail.

http://dev.jquery.com/ticket/3940

Maybe that should just be documented? There are plenty of other ways
to solve the problem.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to