SiteKiosk Documentation
One Step Back

OnProgressChange Event




Fires when the transaction progress changes.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices("CreditCard").
    OnProgressChange = handler
    
Parameters
    IDLong value that contains the ID of the transaction.
    curLong value that contains the current progress.
    maxLong value that contains the maximum progress.
    statusString 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 topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -