
And when submitting the form to a CGI program is necessary, you can have JavaScript take care of all the preliminary requirements, such as validating input to ensure that the user has dotted every i. With JavaScript at your side, you can process simple forms without invoking the server. It is typically used to transfer data from an HTML form to the server.

CGI (which stands for common gateway interface), is a mechanism for safely transporting data from a client (a browser) to a server. Nothing strikes more fear in the heart of a Web publisher than these three letters: C-G-I.

Of all the hats JavaScript can wear, its form processing features are among the most sought and used. This last application is of particular importance. And you can use JavaScript to enhance HTML forms. You can use JavaScript to make your HTML pages "smarter" by exploiting its decision-making capabilities.

You can use JavaScript to create special effects.
