# OnDisconnect Event Fires when a dial-up connection is closed. Syntax
    SiteKiosk.Dialup.OnDisconnect = 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 a dial-up connection is closed.
    <div id="cstatus">Disconnect now</div>
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Dialup.OnDisconnect = OnDisconnect;
    function OnDisconnect()
    {
       cstatus.innerHTML = "Connection closed.";
    }
    </SCRIPT>
Applies to SiteKiosk v5.0 (and later versions). Back to top