SendJavascriptReturnValue Method



 
The SendJavascriptReturnValue method sends a Javascript return value to the server.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
    SendJavascriptReturnValue(value, scriptID)
    
Parameters
    value String or Long value that specifies the value.
    scriptID Long value that specifies the script ID.
Return Value
    None.
Remarks
    None.
Examples
    The following example sends a Javascript return value to the server.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
    SiteCafe.SendJavascriptReturnValue(1, 1);
    </SCRIPT>
    

Applies to
    SiteKiosk v6.2 (and later versions).

Back to top