javascript FORM name

nameNN 2 IE 3 DOM 1  

Read/Write  

This is the identifier associated with the form. This information is not submitted with the form, but a form's name is used in references to the form and nested form elements. Despite the modern standards' preference for the id attribute, many browsers still require that a form be assigned a name attribute to allow the form to be submitted.

 
Example
 
var firstFormName = document.forms[0].name;
 
Value

Case-sensitive identifier that follows the rules of identifier naming: it may contain no whitespace, cannot begin with a numeral, and should avoid punctuation except for the underscore character.

 
Default

None.


842,Nickname,Homepage or email,Comments here,Add comment