How about removeChild(childNodeToRemove); http://www.mozilla.org/docs/dom/domref/dom_el_ref54.html#1029080 http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/remove child.asp?frame=true http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core.html#I D-BBACDC08 /Marcus > -----Ursprungligt meddelande----- > Från: thelist-bounces at lists.evolt.org > [mailto:thelist-bounces at lists.evolt.org] För Tom Dell'Aringa > Skickat: den 17 november 2003 22:45 > Till: thelist at lists.evolt.org > Ämne: Re: [thelist] cross-browser way to remove/replace node? > [solvedkinda] > > > > --- Tom Dell'Aringa <pixelmech at yahoo.com> wrote: > > Problem is that this page does not get reloaded, so the content I > > added persists. According to PPK [1] removeNode() does not work in > > Mozzilla 1.4 and other browsers, since it is a MS > extension. Does it > > work in NS6+? > > Well one solution is to simply set element.innerHTML = "", > which works. I imagine this is probably the best way to > handle it, unless someone has another suggestion...? > > I hate replying to my own posts... > > Tom > > ===== > http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life "I'll ho ho and ha ha you!" (Daffy Duck) -- * * Please support the community that supports you. * * http://evolt.org/help_support_evolt/ For unsubscribe and other options, including the Tip Harvester and archives of thelist go to: http://lists.evolt.org Workers of the Web, evolt !