Document Object Model - Forms

Form fields have a number of attributes not found on other elements within the web page. Also since validating forms is one of the more common reasons for adding JavaScript to a page it is worth looking at more specific examples of how to use the DOM commands to perform the interactions necessary to perform the validation.

This site is © copyright Stephen Chapman - Felgall Pty Ltd 2011-2012.

You are welcome to use any the example JavaScript from this site in the scripts for your site or any that you develop for others but may not use the longer example scripts that contain a copyright notice in any other way without permission.