JavaScript

{dialog.object}transientMessage Method

Syntax

{dialog.object}.transientMessage(location,message,settingsJSON);

Arguments

locationstring

Where the transient message should be shown.

messagestring

The message to display.

settingsJSONJSON Object

A JSON Object that defines additional settings, such as buttons to display in the message.

Description

Displays a transient message.

Discussion

Use the Message Box - Transient Action Javascript to generate the JavaScript for you.

Example

{dialog.object}.transientMessage('center','Record was deleted.',
    {
        buttons: [{html: 'Undo', onClick: function(){alert('undo')}}]
    }
)

See Also