# OnLogonSuccess Event Fires when a logon succeeded. Syntax
    SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
    OnLogonSuccess = handler
Remarks The object that caused the event can be referenced in the event function using "this". Examples The following example displays an alert window when a logon succeeded.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
    SiteCafe.OnLogonSuccess = OnLogonSuccess;
    function OnLogonSuccess()
    {
       alert("Logon succeeded.");
    }
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top