Form Objects

This section covers the Form object and all of its related objects.

Button

Description: This object contains a push-button from an HTML form.

Syntax for creating: NA

Created by: the <input> tag with “button” specified as the TYPE attribute

Implemented in: Navigator 2.0/3.0/4.0

Event Handlers: onBlur, onClick, onFocus, onMouseDown, onMouseUP

Properties: form, name, type, value

Methods: blur, click, focus, handleEvent

Checkbox

Description: This object contains a checkbox from an HTML form.

Syntax for creating: NA

Created by: the <input> tag with “checkbox” specified as the TYPE attribute

Implemented in: Navigator 2.0/3.0/4.0

Event Handlers: onBlur, onClick, onFocus

Properties: checked, defaultChecked, form, name, type, value

Methods ...

Get Essential JavaScript™ for Web Professionals, 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.