OnCardInserted Event
Fires when a SmartCard is inserted.
Syntax
SiteKiosk.Plugins("SiteCash").Devices("ACOS").OnCardInserted = handler
|
Parameters
ctype |
Long value that contains the type of the inserted card. |
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 inserted.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
smartcard = SiteKiosk.Plugins("SiteCash").Devices("ACOS");
smartcard.OnCardInserted = OnCardInserted;
function OnCardInserted(cardtype)
{
alert(cardtype + " card inserted");
}
</SCRIPT>
|
Applies to
SiteKiosk v5.0 (and later versions).
Back to top