# OnAccessStatusChanged Event Fires when the access status changed. Syntax
    SiteKiosk.Plugins("SiteCash").OnAccessStatusChanged = handler
Remarks The access status can be changed by connected Access Control Devices. The object that caused the event can be referenced in the event function using "this". Examples The following example shows an alert window when the access status changed.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Plugins("SiteCash").OnAccessStatusChanged = OASChanged;
    function OASChanged()
    {
       alert("Access status changed");
    }
    </SCRIPT>
Applies to SiteKiosk v5.0 (and later versions). Back to top