Mega Code Archive

 
Categories / JavaScript Reference / Javascript Collections
 

Forms Syntax Parameters and Note

Note: Returns an array of all <form> elements in the document.      Syntax:      document.forms // returns all forms document.forms(param1, param2) // returns an individual form     param1   Required; zero-based index or                         the desired member's id or name attribute.                             param2   Optional; zero-based index                             if param1 matches more than one element.