I'll know my song well before I start singin'.” Bob Dylan
A resource for web developers a code snippet library with step by step tutorials.

a resource for web developers...

       

Search Amazon

JavaScript: DOM tutorial code snippet 5.

 

Up Up to JavaScript: DOM overview page

 

 

Add text to the web page from a form field.

Target a specific node in the document using document.getElementById()' and add text to the web page from a form field.

Use of createElement(), createTextNode() and appendChild() methods.

 





Output view



Back to top

 

Bookmark and Share

 

Copyright © 2006-2010 justfigures.co.uk