<script text="text/javascript">
function ajax(){
var httpRequest;
if(windows.httpRequest){
httpRequest = new HttpRequest();
}else{
httpRequest = new ActiveXObject("Microsoft.XMLHTTP");//IE6、7
}
httpRequest.send(url,true);//第二个参数为是否异步
}
</script>
时间: 2024-12-28 16:39:38