Adding Nodes
Deleting Nodes
Deleting Specific Nodes
Inserting Nodes
Replacing Nodes
To use this script on your own page, click in the text area below, select all, and copy to grab the script. Then, just paste into your own page — and you're done.
See it run: Deleting Specific Nodes
This HTML adds radio buttons, which offers your visitors the choice of adding or deleting text.
This JavaScript allows users to choose which paragraph they want to delete.