OnError Event



 
Fires if an error occurred.


Syntax

    SiteKiosk.Dialup.OnError = handler
Remarks
    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example shows the error text if an error occurres.

    <div id="estatus">Connect now</div>
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Dialup.OnError = OnError;
    function OnError()
    {
       estatus.innerHTML = SiteKiosk.Dialup.ErrorText;
    }
    </SCRIPT>
    

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

Back to top