Javascript Reference
Categories: InputTypeReset

javascript InputTypeReset form

@March 15, 2008, 1:22 a.m.
formFirefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM 1  

Read-only  

Returns a reference to the form element that contains the current element (if any). When processing an event from this element, the event handler function automatically has access to the input element (as the event object's target or srcElement property). By reading the form property, the script can easily access other controls within the same form.

 
Example
 
var theForm = evt.srcElement.form;
 
Value

form element object reference.

 
Default

None.


Powered by Linode.