replaceChild
By: Keith Watanabe
Published On: 10-16-2005
i found something rather annoying when attempting to do replaceChild in javascript. this only works if there are children in the document tree. so let's say you have an empty div tag. this won't run under javascript because there's no nested children. to circumvent this you need to fill it. i use the nbsp character. works quite nicely.
Post Comment
Trackbacks: (Trackback URL)
No Comments Posted Yet
