Name
Button — a graphical pushbutton
Availability
Client-side JavaScript 1.0; enhanced in JavaScript 1.1
Inherits From
Input, HTMLElement
Synopsis
form.name
form.elements[i]
Properties
Button inherits properties from Input and HTMLElement and also defines or overrides the following:
- value
The text that appears in a Button.
Methods
Button inherits methods from Input and HTMLElement.
Event Handlers
Button inherits event handlers from Input and HTMLElement and also defines or overrides the following:
- onclick
The handler invoked when a Button is clicked.
Get Webmaster in a Nutshell, Second Edition 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.