OnCardRemoved Event




Fires when a SmartCard is removed.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices("ACOS").OnCardRemoved = 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 SmartCard is removed.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    smartcard = SiteKiosk.Plugins("SiteCash").Devices("ACOS");
    smartcard.OnCardRemoved = OnCardRemoved;
    function OnCardRemoved()
    {
       alert("SmartCard removed");
    }
    </SCRIPT>
    

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

Back to top