Summary of jsAlertCallback
Is a replacement for Javascript native alert function
Beware that native alert is synchronous by nature (will block
browser waiting an answer from user, but that this is emulating the alert behaviour
by using a callback function when user presses 'Ok' button.
static public jsAlertCallback ( $msg, $title, $okCallback = null ) | ||
$msg | string message to be shown | |
$title | string title for dialog box | |
$okCallback | string function that will be called when 'Ok' is pressed (default null) |