DOM Append Text and Element Functions | JavaScriptSource

DOM Append Text and Element Functions

JavaScriptSource Staff Feb 20, 2009

General

These two functions will append new text or new elements (nodes) to existing elements within the page. Great addition to a JavaScript library. Easily modified.


Ma quande lingues coalesce, li grammatica del.
Li nov lingua franca va esser plu simplic e regulari.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit

Notes

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: appendTextElement.js


Head

Paste this code into the HEAD section of your HTML document.


Body

Paste this code into the BODY section of your HTML document


Leave a Response

(0 comments)