Post går utmärkt att göra.
Ex:
Citat:
var url="test.php";
xmlHttp=GetXmlHttpObject(testfunktion);
xmlHttp.open("POST", url , true);
xmlHttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xmlHttp.send('var1='+encodeURIComponent(var1)+'&va r2='+encodeURIComponent(var2));
|