文章标题

来源:互联网 发布:淘宝如何买岛国动作片 编辑:程序博客网 时间:2024/06/08 11:26
  • Ajax过程?
    1. new xhr:new XMLHttpRequest(); || new ActiveXObject(“Microsoft.XMLHTTP”);
    2. xhr.open(method,url,async);
    3. xhr.send();
    4. xhr.onreadystatechange = function(){
      if(xhr.readyState==4&&xhr.status==200){
      var result = xhr.responseText;
      };