February 11, 2006
February 06 Meeting - Form object
Learning how to reference a form element (input, select, radio, textarea) and its value on a web page will prepare you for our next months topic of form validation.
You can set an object reference (remember objects?) to your form initially or even pass a form reference to your function to reduce the code you have to write. If you are trying to reference a value in a select box then you'll need to use the selectedIndex property first and if it's a multi-select box, you'll need to loop through the array to get all items selected.
Posted in:
