Fires when a card has been read after insertion.
SiteKiosk.Plugins("SiteCash").Devices("ACOS").OnUserDataReady = handler
||Long value that contains the question ID.
||Long value that contains the index number of the read data.
||String that contains the read data.
The object that caused the event can be referenced in the event function using "this".
This event fires for each single data field that has been read.
The following example shows all available user data in an alert window when a card has been inserted.
smartcard = SiteKiosk.Plugins("SiteCash").Devices("ACOS");
smartcard.OnUserDataReady = OnUserDataReady;
function OnUserDataReady(id, index, data)
alert(id + " " + index + " " + data);
SiteKiosk v5.0 (and later versions).
Back to top