Sunday, October 05, 2008

Client-side scripting

Client-side scripting generally refers to the class of computer programs on the web that are execute client-side, by the user's web browser, instead of server-side. This type of computer programming is an significant part of the Dynamic HTML concept, enabling web pages to be scripted; that is, to have different and changing content depending on user input, environmental conditions, or other variables.


Web author write client-side script in languages such as JavaScript and VBScript.


Client-side scripts are often embedded within an HTML text, but they may also be enclosed in a separate file, which is referenced by the document that uses it. Upon request, the necessary files are sending to the user's computer by the web server on which they reside. The user's web browser executes the script, and then displays the document, including any visible production from the script. Client-side scripts may also contain orders for the browser to follow if the user interacts with the text in a certain way, e.g., clicks a certain button. These instructions can be followed without further message with the server, though they may require such message.

No comments: