codice:
var strData ="txtNome="+ strNome +"&txtCognome="+ strCognome +"&txtEmail="+ strEmail;
xmlhttp.open("POST","data.php",true);
xmlhttp.send(strData);