Name
button — NN 2 IE 3 DOM 1
Synopsis
The button object
is a form control generated with an INPUT element
whose TYPE attribute is set to
"button". This element is similar to, but differs
from, the BUTTON element. For details on the
distinctions, see the BUTTON HTML element
description in Chapter 8.
HTML Equivalent
<INPUT TYPE="button">
Object Model Reference
- NN
[window.]document.formName.elementName[window.]document.forms[i].elements[i]- IE
[window.]document.formName.elementName[window.]document.forms[i].elements[i][window.]document.all.elementID
Properties
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Methods
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Collections/Arrays
|
|
|
|
Event Handler Properties
|
Handler |
NN |
IE |
DOM |
|---|---|---|---|
|
|
n/a |
4 |
n/a |
|
|
n/a |
4 |
n/a |
|
|
n/a |
4 |
n/a |
|
|
n/a |
4 |
n/a |
|
|
3 |
4 |
n/a |
|
|
n/a |
4 |
n/a |
|
|
n/a |
4 |
n/a |
|
|
n/a |
4 |
n/a |
|
|
n/a |
4 |
n/a |
|
|
n/a |
4 |
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