client script

A script that is executed by the browser on a user's computer. Client scripts are part of a page, and are sent to the browser when a user requests the page. Client scripts typically run in response to an event, such as when the page loads or when the user clicks a button, and are used to change the appearance of the page or to validate information entered by the user.