Javascript Reference
Categories: BUTTON

javascript BUTTON form

@March 15, 2008, 1:22 a.m.
\n \n ]\n \n ]\n \n ]\n \n ]
formFirefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM n/a
Read-only
 

Returns a reference to the FORM element that contains the current element (if any). This property is most often passed as a parameter for an event handler, using the this keyword to refer to the current form control.

 
Example
<INPUT TYPE="button" VALUE="Validate Form" onClick="doValidate(this.form)">
 
Value
Object reference.
 
Default
None.

Powered by Linode.