Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Node question 1

Status
Not open for further replies.

glenmac

Technical User
Joined
Jul 3, 2002
Messages
947
Location
CA
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?

Glen
 
Hi Glen,

I use MSDN for info on these and similar DOM 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]
[banghead]
 
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. [dragon]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top