This JavaScript code example will dynamically add/remove HTML elements with content included within them according to the DOM2 specification. A very easy JavaScript code to learn and use DOM. Try more JavaScript codes on jsB@nk to handle DOM better: - JavaScript OOP with Input Display Toggle - JavaScript Content Auto-Indexing using DOM - JavaScript Add More Unlimited Input Fields
Add Elements
2000+ free JavaScripts at www.JavaScriptBank.com