I've been running into replacenode() and clonenode() methods in my travels around the net. I've done some searching but haven't found much info on them. Has anyone a good link to learn more on these methods?
One thing to note that has caught me out a few times... when removing nodes, it's better to use the removeChild method, as it is cross-browser. removeNode is IE-only, AFAIK.
Hope this helps,
Dan
[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
I use the same reference, it really good. I've got a bookmark to it on my quick launch bar so it will always be handy. Be sure to check the Standards Information at the bottom of each page. If it doesn't say: "[green]This method is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1[/green]" then it's probably a MS-only extension, and may not work in other browsers.
Tracy Dryden
Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.