forms forms returns a list of the FORM elements within the current document. Syntax form_list = document.forms Parameters form_list is a nodeList of FORM elements. Example <form id="marjoree"> <input type="button" onclick="alert(document.forms[0].id);"/> </form> Notes None. Specification html
forms returns a list of the FORM elements within the current document.
form_list = document.forms
form_list is a nodeList of FORM elements.
<form id="marjoree"> <input type="button" onclick="alert(document.forms[0].id);"/> </form>
None.
html