OnDisplayTextChange Event



 
Fires when the text displayed in the progress bar that shows the remaining credit changes.


Syntax

    SiteKiosk.Plugins("SiteCash").OnDisplayTextChange = 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 the display text changes.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Plugins("SiteCash").OnDisplayTextChange = ODTChange;
    function ODTChange()
    {
       alert(SiteKiosk.Plugins("SiteCash").DisplayText);
    }
    </SCRIPT>
    

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

Back to top