# OnProgressChange Event Fires when the transaction progress changes. Syntax
    SiteKiosk.Plugins("SiteCash").Devices("CreditCard").
    OnProgressChange = handler
Parameters
ID | Long value that contains the ID of the transaction.
cur | Long value that contains the current progress.
max | Long value that contains the maximum progress.
status | String that contains the status text.
Remarks The object that caused the event can be referenced in the event function using "this". Examples The following example shows the current transaction information.
    <div id="progressinfo">Start a transaction</div>
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    creditcard = SiteKiosk.Plugins("SiteCash").Devices("CreditCard");
    creditcard.OnProgressChange = OnProgressChange;
    function OnProgressChange(id, cur, max, status)
    {
       progressinfo.innerHTML = id + ": " + cur + " / " + max;
    }
    </SCRIPT>
Applies to SiteKiosk v5.0 (and later versions). Back to top