TOC PREV NEXT INDEX

Put your logo here!


name


name returns the name of the current FORM element as a string.

Syntax

name = form.name 
form.name = name 

Parameters

name is a string.

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 alrea.

Specification

name


mozilla DOM project | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX