Changing the Behavior of Buttons

The JavaScript API enables you to specify the onclick event handling for a custom button or modify the onclick event handling of a custom button or preconfigured button (such as New, Save, and Cancel), and thereby change its behavior.

You can change the click event handling of custom and preconfigured buttons to do the following:

  • Set or retrieve on-screen values.

  • Create, read, update, and delete (CRUD) off-screen records.

For information about registering and removing event handlers, see Methods for the Button Object and Defining an Event Handler for a Button.