IE’s removeNode
http://msdn.microsoft.com/en-us/library/ms536708(VS.85).aspx
helps me to decide whether I would like to remove childNodes or not.
I would like to know whether the same exists for Firefox, Opera, Chrome and Safari. If not, how can I achieve it?
Didn’t want just just copy code over, give this a read: http://www.sitepoint.com/forums//showthread.php?p=947385
Edit (but I, pst, have no shame — code from above link 😉