Note:Returns an array of all and elements in element. This collection does not includes image . Syntax: document.getElementById("formID").elements // returns all form elementsdocument.getElementById("formID").elements(param1, param2) // returns an individual form elementdocument.all.formID.elements // IE onlydocument.all.formID.elements(param1, param2) // IE only param1 Required; zero-based index or the desired member's id or name attribute. param2 Optional; zero-based index for the result returned if param1 matches more than one element.