Previous |
Next |
Displays a confirmation showing a message (pMessage
) and depending on user's choice, submits a page setting request value (pRequest
) or cancels page submit.
Parameters
pMessage (string) pRequest (string)
Example
This example shows a confirmation dialog with the text 'Delete Department'. If the user chooses to proceed with the delete, the current page is submitted with a REQUEST value of 'DELETE'
apex.confirm('Delete Department', 'DELETE');