Here is some more information about JavaScripts and how to install them.
Getting your Web page to respond or react directly to user interaction with form elements is the main purpose of a JavaScript-program.
“Why JavaScript?” - you say.
“I have powerful CGI and PHP scripts on my server!”.
Well…
Why JavaScript?
Do you need to open a PopUp or PopUnder window when your website visitor enters or leaves your site?
Do you need to validate a form before it’s submitted to a server?
Only a JavaScript-program can help you in this cases.
Only a JavaScript-program can detect user activity and react with tasks you need. CGI and PHP scripts cannot.
Only a JavaScript-program can recognize your web page loading and open a PopUp or PopUnder window. CGI and PHP scripts cannot.
A JavaScript-program has the ability to process many other events such as a selection of list-items or filling out forms. CGI or PHP can do neither of these things.
Also, JavaScript is suitable for form validation before sending the information gathered to server. CGI or PHP can only do this after.
(more…)