GetFullPhoneNumber Method



 
The GetFullPhoneNumber method returns a phone number prefixed with country code.


Syntax

    [string=] SiteKiosk.Plugins("SitePhone").GetFullPhoneNumber(number)
    
Parameters
    number String that specifies a phone number.
Return Value
    Returns a String that contains a phone number prefixed with country code.
Remarks
    None.
Examples
    The following example alerts the full phone number with country code for (918) 555-5000.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteKiosk.Plugins("SitePhone").GetFullPhoneNumber("918 555 5000");
    </SCRIPT>
    

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

Back to top