Yeah, this is really just a documentation issue. Do you want to just tweak the docs for those entries and be sure to mention that they require that the element(s) are already inserted in to a document or another node?
--John On Tue, Feb 17, 2009 at 10:59 PM, Dave Methvin <dave.meth...@gmail.com> wrote: > > 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 -~----------~----~----~----~------~----~------~--~---