name
name returns the name of the current FORM element as a string.
Syntax
Parameters
Example
form1 = document.getElementById("form1").name; if (form1 != document.form.form1) { // browser doesn't support this form of reference }
Notes
Note that this property is read/write, which means that you can change the name of a form or set it if it hasn't been set alreaDY.
Specification
Netscape Communications http://developer.netscape.com |