Zvi Landsman

Navigation

Skip navigation.

Search

Site navigation

Email conversation

FromZvi Landsman
ToMe
Subjectreplacechild
Date7 June 2004 16:13
Firstly, your DOM reference guide is invaluable to me, as other
documentation is generally not existent or hard to understand.

After struggling to debug something in my code, I realized that you got
your variables backwards on the replaceChild method, as it should be 

element.replaceChild(newChild, oldChild)
http://www.mozilla.org/docs/dom/domref/dom_el_ref56.html

Thanks,
Zvi
FromMe
ToZvi Landsman
SubjectRe: replacechild
Date8 June 2004 8:28
Zvi,

oops. sorry about that. I have now ammended my pages. Thanks for pointing
that out ...


Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/
This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.