Ciao a tutti, è il mio primo messaggio, e vorrei subito porvi un quesito, ho scritto questo codice dopo aver visto diversi tutorials, ma non capisco xkè non funzioni... -.- PS: uso firefox
richiamo ES tramite on click.... aiutatemi x favore...var ab=null;
function CXHR(handler) {
var xmlhttp=null;
xhtmlhttp = new XMLHttpRequest();
xhtmlhttp.onreadystatechange(handler);
return xmlhttp;
}
function HAN() {
if (ab.readyState == 4 && ab.status == 200) {
alert(action.responseText);
}
}
function ES() {
ab = CXHR(HAN);
ab.open("GET", "2.html");
ab.send(null);
}