JavaScript can add before page elements as well as after.
We don't always wat to add new content after existing content, sometimes we want to insert before existing content instead. This twelfth tutorial on using the DOM shows you how.
insertBefore
The first thing you need to know before you can use JavaScript is just exactly what JavaScript is.
Since I started to write about JavaScript I have written hundreds of JavaScripts which I make available for you to copy and use on your site. The more recent of these use unobtrusive coding techniques while the older ones obviously don't.
JavaScript can add before page elements as well as after.
Email programs are very different to Web Browsers regarding JavaScript.
©2008 About.com, a part of The New York Times Company.
All rights reserved.