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);

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact