- Ajax过程?
- new xhr:new XMLHttpRequest(); || new ActiveXObject(“Microsoft.XMLHTTP”);
- xhr.open(method,url,async);
- xhr.send();
- xhr.onreadystatechange = function(){
if(xhr.readyState==4&&xhr.status==200){
var result = xhr.responseText;
};
文章标题
最新推荐文章于 2023-10-19 15:03:50 发布