TOC PREV NEXT INDEX

domref



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

forms
 


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX