$("<p>unusual</p>").after("<p>case</p>")

$("<p>unusual</p>").after("<p>case</p>")


The before/after/insertBefore/insertAfter methods require a parentNode
so that the content can be inserted relative to the element. So, $
("

unusual

").after("

case

") will fail.
http://dev.jquery.com/ticket/3940
Maybe that should just be documented? There are plenty of other ways
to solve the problem.