Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > JavaScript API > AJAX helper object

Javascript API: AJAX helper object

Scroll Prev Next More

 

The AJAX helper object provides several useful asynchronous functions for JavaScript events.

 

The AJAX helper object is available as an ajax parameter in:

 

Click action AJAX snippets;

Custom buttons;

Field events.

Methods

Method

Description

setMessage()

Displays a message next to the button.

removeMessage()

Removes the previously set message.

setDisabled()

Disables the button.

setEnabled()

Enables the previously disabled button.

dialog()

Displays a dialog and sends user-provided data to the Server event. See Dialog API for more info.

addPDF()

Creates a PDF file and sends in to the Server event. See PDF API for more info.

submit()

Starts the Server part of the event when the ClientBefore part runs an asynchronous task.

See also:

Dialog API

Tri-part events

PDF API

About JavaScript API