javascript InputTypeImage form
@July 12, 2008, 4:48 a.m.
form | Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1 |
Read-only | |
Returns a reference to the form element that contains the current InputTypeImage element. 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. |
Permanent URL:
http://javascript.gakaa.com/inputtypeimage-form.aspx
Powered by Linode.