[thelist] cross-browser way to remove/replace node? (DOM)

Tom Dell'Aringa pixelmech at yahoo.com
Mon Nov 17 16:04:56 CST 2003


--- Jeff Howden <jeff at jeffhowden.com> wrote:
> will removeChild() do what you need?

Which is what Marcus just suggested. I suppose I could use that since
I do know that my DIV is constant.. maybe I could do (pseudo)

while(myDiv has children)
  removeChild(daChild)

and I assume that would work..I'll try that! Thanks guys.

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)


More information about the thelist mailing list