Scripting |
You can include scripts in web pages that are executed with or without without web server interaction. You can use JavaScript (default) or VBscript. These scripts can be executed on certain events. For example:
Furthermore, you can provide contextual information for an event, for example: keyVal="65" ctrlKey="true" The arguments supported as contextual information are:
To add scripts to web pages, you need to insert an Event Listener object with a callClientScript action with a Script property. See: How to Add a Script to an Object. If you want to refer to the event target in a script, you can use the caller keyword. For example: SetBackGroundToRed(caller) For a specific page, you can also include a script with generic functions in the top section of the generated HTML document.. Related Topics: How to Add a Script to an Object How to Add a Script with Functions in the Top Section of an HTML Document Scripting Example: The Period Case Scripting Example: Client Check on a Mandatory Field Executing SQL Statements From a Web Page Setting, Getting, and Displaying Values and Variables |