成人论坛

Client-side scripting using JavaScript

The client is the computer system (including tablets and mobile devices) that is running the web browser. Client-side scripts are interpreted by the browser and executed on the client system.

Client-side scripting can be used to make web pages change after they arrive at the browser.

Client-side scripts can also be used to perform validation of data entered into forms, either using JavaScript or some new features of HTML5. It is possible to generate a query client-side but it is not possible to execute the query on a client, some tasks will always require server-side scripting.

JavaScript is the main client-side scripting language that can be used to create, delete and manipulate HTML elements. Extensive JavaScript code is often contained within its own file and linked to a webpage in the same way that a CSS file can be linked.