#javascript-code-10-lastchild.js / js
// Insert a new Element just before the last element in the <body> var n = document.createElement(“div”); n.innerHTML = “Thanks for visiting!”; document.body.insertBefore( n, document.body.lastChild );
(C) Æliens 20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.