Javascript Reference
Categories: InputTypeFile

javascript InputTypeFile form

@July 3, 2008, 3:46 p.m.
form Firefox/Netscape/NN 3 IE 4 Chrome/Safari/DOM 1  

 

Read-only  

Returns a reference to the form element that contains the current InputTypeFile element (if any). When processing an event from this InputTypeFile 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_InputTypeFile.form;
 
Value

form element object reference.

 
Default

None.

 


Powered by Linode.