showModal()
The showModal() function (client-side) displays a tab or a group in a popup window.
Syntax
Use this syntax for the showModal() function:
showModal('CODE');
Return Value
The showModal() function returns undefined.
Parameters
The showModal() function accepts the code of the tab or group as a required string parameter.
Examples
The following examples show how to use the showModal() function.
Displaying a Tab
This example displays the tab with the code SHIPPING_DETAILS in a popup window.
showModal('SHIPPING_DETAILS');