Hi Octavio,
OK … all code in mainpage_custom.js ….
but I want populate combo, list, ecc dinamicallly (with a SOAP XML CONNECTION … but this is another future post …)
Example: 3 screen : in last screen I have two combo
the main page is named intro.mobi
in the loading first page I write the javascript code for populate the combo:
( // aggiunge il primo elemento vuoto
var o = document.createElement(“OPTION”);
document.m1_intro.cbComuni.options.add(o);
o.value = “”;
o.innerHTML = “Seleziona un COMUNE…”;)
(m1_intro is the form name ????)
this is for testing add only manually one element to combo cbComuni …
but if the screen of combo is hidden div , where is the sintax for pick the name of combo and populate it ???
Thanks and sorry for my bad english
Luca