August 1999
Intermediate to advanced
1488 pages
72h 53m
English
form.action
The action property represents the ACTION attribute of the HTML <form> tag. It is typically the URL to which the form is being submitted.
Listing 7.255 shows one method of how to use the Form object to access the action property of the HTML form. The action property specifies the server and program to which the form is submitted.
<html> <head> <title> Using the action property of the Form object</title> </head> <body> <script language="JavaScript"> <!-- Hide function getAction(){ var actionValue = document.form1.action; document.form1.msg.value = "Your form was submitted ... |
Read now
Unlock full access