But it works in firefox.
This is my javascript:
star.updateRating=function(v, listid) {
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null) {
alert("Your browser does not support AJAX!");
return;
}
var randomnbr = randomID(12);
var cacheid = randomnbr+"_"+listid;
var url="http://mywebsiteurl.com/includes/functions_rating.php";
url=url+"?action=ratelist";
url=url+"&listid="+listid;
url=url+"&rating="+v;
url=url+"&cid="+cacheid;
// disable the container
$('starMsg').innerHTML=' - Thanks for rating!';
$('star').setAttribute('onmousemove','');
$('star').setAttribute('onmousedown','');
xmlHttp.open("POST",url,true);
xmlHttp.send(null);
}
My php file begins with : header ("content-type: text/xml");
The code will run all the way through (an alert(1); will execute at the end of the js). However, the php does not update the database when the script is called from ie.
Any ideas?