OnSettingsChanged Event



 
Fires when the session settings changed.


Syntax

    SiteKiosk.Plugins("SiteCash").SessionSettings.OnSettingsChanged = handler
Remarks
    Session settings are only provided by some payment devices like smartcards.

    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example shows the last name of the user when the session settings changed.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Plugins("SiteCash").SessionSettings.OnSettingsChanged = OSC;
    function OSC()
    {
       alert(SiteKiosk.Plugins("SiteCash").SessionSettings.Lastname);
    }
    </SCRIPT>
    

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

Back to top