Code help

voipmustbe

Neuer User
Mitglied seit
18 Aug 2005
Beiträge
42
Punkte für Reaktionen
0
Punkte
0
The original code as below (in first_Sip_1.js)
var name = "49"+jslGetValue("uiView1u1OKZ")+Username;
changed to var name = "45"+jslGetValue("uiView1u1OKZ")+Username; where 45 is DK-country code, works w/o any problem, but the change is static.
How to change it dynamically related to the value from Regional Options?

Does anyone know the value of - var g_Country = "<? query box:settings/country ?>" - Is the return value a Code ("045") or a Text (Denmark). Trying
g_Country = "<? query box:settings/country ?>";
jslSetValue( "uiPostCountry", g_Country);
jslEnable( "uiPostCountry");
var country = jslGetValue( "uiPostCountry");
var name = country+jslGetValue("uiView1u1OKZ")+Username;
doesn't work!
 
Zuletzt bearbeitet:

3CX PBX - GRATIS
Linux / Win / Cloud

Neueste Beiträge

Statistik des Forums

Themen
232,910
Beiträge
2,028,097
Mitglieder
351,064
Neuestes Mitglied
xray kolossa