dcsimg

How can I get all the field names in any given HTML page?

Janus Skallgård

document.myform.length; returns the number of controls on your form. You can reference them by document.myform.elements(counter);