Client script

<< Click to Display Table of Contents >>

Navigation:  Actions >

Client script

Client script is written in javascript and executes in browser. Client script can call server script functions using methods of Server or AsyncServer object.

When calling AsyncServer methods, last parameter should be callback function.

 

Client script can use following variables:

form - current form. Form fields are form properties, i.e. form.CustomeName.

frame - current frame element

component = sender - current component

Server - proxy class for synchronous calling of server script methods.

AsyncServer - proxy class for asynchronous calling of server script methods.