AJAX赚容火狐

var xmlHttp;
if (window.ActiveXObject) { 
      xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
}
else if (window.XMLHttpRequest) { 
      xmlHttp = new XMLHttpRequest();
}

xmlHttp.open("POST", "?type=f&pid="+productid, false);
xmlHttp.send("");

用这个就OK了

posted @ 2009-03-07 11:28  冬季开花  阅读(140)  评论(0编辑  收藏  举报