Name
FORM — NN 2 IE 3 DOM 1
Synopsis
The FORM object
reflects the FORM element. The
FORM object can be addressed in a reference either
by the value assigned to its tag NAME attribute or
by the index of the forms array contained by every document. To
assemble a reference to a form control object, the
FORM object must be part of the reference. This
covers the eventuality that more than one form may be placed in a
document.
HTML Equivalent
<FORM>
Object Model Reference
- NN
[window.]document.formName[window.]document.forms[i][window.]document.form["formName"]- IE
[window.]document.formName[window.]document.forms[i][window.]document.form["formName"][window.]document.all.elementID
Properties
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Methods
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Collections/Arrays
|
|
|
|
|
Event Handler Properties
|
Handler |
NN |
IE |
DOM |
|---|---|---|---|
onclick |
n/a |
4 |
n/a |
ondblclick |
n/a |
4 |
n/a |
ondragstart |
n/a |
4 |
n/a |
onfilterchange |
n/a |
4 |
n/a |
onhelp |
n/a |
4 |
n/a |
onkeydown |
n/a ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access