> Not really, right? You can still modify and re-place nodes that have > been removed from the dom, but not on nodes that have been destroyed. > > <div id="bar"><p>hi</p><p>there</p></div> > > var ps = $("#bar p").remove(); > $("#bar").html("<p>hmm</p>"); > ps.appendTo("#bar") > > or some such. >
Removed from the DOM via an innerHTML or removed from the DOM via a removeChild - the result is the same either way. A reference to the DOM element should be maintained so that further operations can be performed. --John --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---