codice:setTimeout(function(){ document.getElementById("myDiv").innerHTML=xmlhttp.responseText; if(xmlhttp.responseText.indexOf("stato inviato correttamente")!=-1){document.form1.reset()} },2000);
codice:setTimeout(function(){ document.getElementById("myDiv").innerHTML=xmlhttp.responseText; if(xmlhttp.responseText.indexOf("stato inviato correttamente")!=-1){document.form1.reset()} },2000);
Cavicchi Andrea
Problemi con javascript, jquery, ajax clicca qui