General
Dynamically create HTML elements with content wrapped within them according to the DOM2 specification. Easy to implement.
Notes
- Created by: Dustin Diaz
- Web Site: http://www.dustindiaz.com/
- Posted: February 15, 2008
Source Code
Paste this source code into the designated areas.
External file
Paste this code into an external JavaScript file named: addRemoveElements.js
CSS
Paste this code into your external CSS file or in the <style> section within the HEAD section of your HTML document.
Head
Paste this code into the HEAD section of your HTML document.
Body
Paste this code into the BODY section of your HTML document
Do you write JavaScripts?
If you do, why not submit them to us?
We'll give you credit and a link back to your Web site.
