Changes

Jump to: navigation, search

Building Forms with JavaScript

315 bytes added, 17:19, 15 May 2007
The JavaScript Form Object
* '''action''' - the URL of the CGI script to which the data entered by the user will be sent. It is also possible to use ''mailto:'' to have the data sent to an email address.
The following is an example of a Form object named ''registerForm'' which submits the user data to a cgi script called register.cgi located in the /cgi-bin directory on the server using which hosts the web site. The transfer is configured to use the GET method:
<pre>
</pre>
 
== The JavaScript Text Object ==
 
Now that we have covered the basics of the JavaScript Form Object it is time to look at the objects we can place into the Form container to interact with the user. The most common of these objects is the text object. The text

Navigation menu