ibihelpme_ShowConfirmMessageBox
| Signature | ibihelpme_ShowConfirmMessageBox(message: string, title: string): boolean |
|---|---|
| Description | Displays an acknowledgment dialog |
| Available from API version | 1.0.0 |
Parameter
| Name | Type | Description |
|---|---|---|
| message | string | Message to be displayed in the acknowledgment dialog |
| title | string | Title to be displayed in the acknowledgment dialog |
Return value
| true if "yes" was selected, otherwise false |
|---|
Example
JS
var confirmed = window.external.ibihelpme_ShowConfirmMessageBox('Wanna cancel?', 'Cancel?');
if(confirmed)
closeWindow();