Path: csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="UTF-8" Message-ID: <9875396.0bNLEoWOxd@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Thu, 20 Jun 2013 18:15:31 +0200 User-Agent: KNode/4.10.2 Content-Transfer-Encoding: 8Bit X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. <9e65bc40-ab97-40aa-91ca-5790829262b3@googlegroups.com> <3aa0c769-a0d9-4af6-bd01-af62a3c8c47e@googlegroups.com> <18a09a93-fbbf-4d61-a59b-310a06d4d03d@googlegroups.com> MIME-Version: 1.0 Lines: 28 NNTP-Posting-Date: 20 Jun 2013 18:15:31 CEST NNTP-Posting-Host: b4702f2b.newsspool2.arcor-online.net X-Trace: DXC=PFf^;38:nObPXlQ;h]GTMdA9EHlD;3Ycb4Fo<]lROoRa8kF On Wed, 19 Jun 2013 17:39:37 -0700, justaguy wrote: >> Is there something like removeBefore(nodeName or ID) or deleteBefore >> (nodeName or ID) or removeAfter or deleteAfter? > > Is it possible that when you delete the immediate children, their > descendants are still present? No. Deleting a node deletes all of its descendants. However, care must be taken regarding the event listeners on descendents as some implementations do not clean up properly. > Your div is the root of a tree. What you need to do is trim the tree back > to the root starting at the most distant branch. No, you do not. You just use the “previousSibling” property repeatedly. > […] > Not tested, obviously. Like your other junk postings. -- PointedEars Twitter: @PointedEars2 Please do not Cc: me. / Bitte keine Kopien per E-Mail.