Submit

JavaScript1.0+, JScript1.0+ Nav2+, IE3+, Opera3+ Syntax

Core client-side JavaScript object.

Description

The Submit object is one of the core JavaScript objects. Instances are created by the browser when it encounters an HTML <input> tag with the TYPE attribute set to SUBMIT. In the JavaScript object hierarchy, the Submit object is located at window.document.Form.Submit. Table 7.44 lists the properties, methods, and events used by the Submit object.

Note

Starting with Navigator 4, if you submit a form to a mailto: or news: protocol, the UniversalSendMail security privilege must be set.

Table 7.44. Event Handlers, Methods, and Methods Used by the Submit Object
Type Item Description
Event Handlers onBlur Executes code when the submit ...

Get Pure JavaScript 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.