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:

Zurzeit aktive Besucher

3CX

Statistik des Forums

Themen
236,149
Beiträge
2,071,516
Mitglieder
357,341
Neuestes Mitglied
lXPkX