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