Eh...il problema però così è che getstructure() ad un certo punto richiama getState():
...e anche getState ha bisogno della variabile http.codice:http.open('GET','get.php?id='+valore, true); http.onreadystatechange = function() { getState(uni,id); }; http.send(null);
Devo includere tutto in una macrofuzione?

Rispondi quotando