Name
Text — a graphical text input field
Availability
Client-side JavaScript 1.0; enhanced in JavaScript 1.1
Inherits From
Input, HTMLElement
Synopsis
form.name
form.elements[i]
Properties
Text inherits properties from Input and HTMLElement and defines or overrides the following:
- value
User input to the Text object.
Methods
Text inherits the methods of Input and HTMLElement.
Event Handlers
Text inherits the event handlers of Input and HTMLElement and defines or overrides the following:
- onchange
The handler invoked when input value changes.
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.