Newer Version Available
closeTab()
Closes a specified primary tab or subtab. Note that closing the
first tab in a primary tab closes the primary tab itself. This method is
only available in API
version 20.0 or later.
Syntax
Arguments
| Name | Type | Description |
|---|---|---|
| id | string | ID of the primary tab or subtab to close. |
Sample Code–Visualforce
Response
None