javascript InputTypeSubmit form
@Aug. 28, 2008, 5:31 a.m.
form | Firefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM 1 |
|
Read-only |
Returns a reference to the form element that contains the current InputTypeSubmit element. When processing an event from this InputTypeSubmit 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/inputtypesubmit-form.aspx
Powered by Linode.