JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

Form.action Property

Name

Form.action Property---the URL for form submission

Availability

Navigator 2.0; implemented but nonfunctional in Internet Explorer 3.0

Synopsis

form.action

Description

action is a read/write string property of the Form object. It specifies the URL to which the form data will be sent when the form is submitted. The initial value of this property is specified by the ACTION attribute of the <FORM> HTML tag. Usually, this URL specifies a CGI script, although it can also be a mailto: address.

You can set this property in Internet Explorer 3.0, but doing so will have no effect on how the form is submitted.

See Also

"Form"


Previous Home Next
Form Book Index Form.elements[]

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell