|
|
创建一个XMLHttpRequest对象
var xmlHttp;function createXMLHttpRequest() { if (window.ActiveXObject) { xmlHttp = new ActiveXObject("Microsoft.XMLHttp"); } else if (window.XMLHttpRequest) { xmlHttp = new XMLHttpRequest(); }}
<div style="text-align: center;">XMLRequest对象一些典型方法 |
|