AJAX--總結

XMLHttpRequest對象是AJAX的基礎。開始就要創建對象。 var xmlhttp; if(window.XMLHttpRequest) {     xmlhttp=new XMLHttpRequest(); } else{     xmlhttp=new ActiveXObject("Microsoft.XMLHTTP") //IE5,IE6 }. 向服務器發送請求,需要用到open(
相關文章
相關標籤/搜索