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 ... |
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.