hideModal()

The hideModal() function (client-side) hides a tab or group displayed in a popup window. This function is useful when you want to close the popup window without requiring users to click the Close button.

Syntax

Use this syntax for the hideModal() function:

            hideModal('CODE'); 

          

Return Value

The hideModal() function returns undefined.

Parameters

The hideModal() function accepts the code of the tab or group in a string format as a required parameter.

Examples

The examples show how to use the hideModal() function.

Hiding a Tab

This example hides the Shipping Details tab.

              hideModal('SHIPPING_DETAILS'); 

            

Related Topics

General Notices