OnRunningOutOfCredit Event



 
Fires when credit is running out.


Syntax

    SiteKiosk.Plugins("SiteCash").OnRunningOutOfCredit = 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 credit is running out.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Plugins("SiteCash").OnRunningOutOfCredit = OROOCredit;
    function OROOCredit()
    {
       alert("You are running out of credit");
    }
    </SCRIPT>
    

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

Back to top