# CheckInternetConnectionComplete Event Fires when the internet connection check has been completed. Syntax
    SiteKiosk.Network.CheckInternetConnectionComplete = handler
Parameters
status | Boolean value that indicates whether a connection is available.
errorcode | Long value that contains the error code.
Remarks The object that caused the event can be referenced in the event function using "this". Examples The following example pings the host 'www.google.com' to check for an internet connection.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    var server = "www.google.com";

    SiteKiosk.Network.CheckInternetConnectionComplete =
    OnCheckInternetConnectionComplete;
    SiteKiosk.Network.CheckInternetConnection(server);

    function OnCheckInternetConnectionComplete(ab_Status, al_ErrorCode)
    {
    	alert(ab_Status);
    }
    </SCRIPT>
Applies to SiteKiosk v6.5 (and later versions). Back to top