Removing Nodes Using the DOM
General
You can remove existing nodes using the DOM. The removeChild method allows any node to remove one of its child nodes. Simply pass a reference to the node you wish to remove. Any text or elements within the node being removed will be removed along with it.
Click this link to remove the section above.
Notes
- Created by: Brad
- Web Site: http://snippets.dzone.com/posts/show/2598
- Posted: May 4, 2007
Source Code
Paste this source code into the designated areas.
Snippet
Paste this code into your existing script
Body
Paste this code into the BODY section of your HTML document


Leave a Response
(2 comments)It works fine in FF 2.0.0.3. What version are you using?
This doesn't appear to work in Firefox