elements elements returns an array of all the form controls contained in the FORM element. Syntax controls = form.elements Parameters controls is a nodeList. Example inputs = document.getElementById("form1").elements Notes None. Specification elements
elements returns an array of all the form controls contained in the FORM element.
controls = form.elements
controls is a nodeList.
inputs = document.getElementById("form1").elements
None.
elements