OnClose Event



 
Fires when the dialog is closed.


Syntax

    SKHtmlDialog.OnClose = handler
Remarks
    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example shows an alert window when the dialog is closed.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    function onClose()
    {
       alert('Dialog is closed');
    }
    mydialog = SiteKiosk.SiteKioskUI.CreateHTMLDialog();
    mydialog.Title = true;
    mydialog.OnClose = onClose;
    mydialog.ShowDialog();
    </SCRIPT>

Applies to
    SiteKiosk v5.5 (and later versions).

Back to top