Client-Side Scripting generally refers to the class of computer programs on the web that are executed client-side, by the user's web browser,
Web authors write client-side scripts in languages such as JavaScript (Client-side JavaScript)
Giving the user more control over the browser.
Detecting the user's browser and OS. The ability to detect the user's browser and OS allows your script to perform platform-dependent operations, if necessary.
Performing simple computations on the client side.
Validating the user's input:JavaScript helps the browser perform input validation without wasting the user's time by the Web server access. If the user makes a mistake in the input, the user will get an error message immediately! On the other hand, if the input information is validated only on the server, then the user would have to wait for the server response.
Handling dates and time.
Generating HTML pages on the fly.
|