编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录

abort

取消当前请求

语法

oXMLHttpRequest.abort();

备注

调用此方法后,当前请求返回UNINITIALIZED 状态。

参考

readyState 属性
open 方法

相关文章
spring 获取当前请求httpservletrequest对象的方式xmlhttprequest abort取消当前请求xmlhttprequest getallresponseheaders获取响应头xmlhttprequest getresponseheader获取指定响应头xmlhttprequest open 打开创建请求xmlhttprequest responsexml 请求返回xmlxmlhttprequest setrequestheader 设置指定请求头xmlhttprequest readystate 请求状态xmlhttprequest send 发送请求php apache 函数 取得或设置 apache 请求记录php curl 函数 暂停和取消暂停一个连接。php 数组 函数 返回数组中当前的键/值对并将数组指针向前移动一步php php 选项/信息 函数 获取当前资源使用状况php 程序执行函数 修改当前进程的优先级php 生成器 返回当前产生的值php mysqli 根据当前连接的字符集,对于 sql 语句中的特殊字符进行转义php oauthprovider 检查一个 oauth 请求php seaslog 获得当前 seaslog 中用于区分请求的 request idphp yaf controller abstract 获取当前的视图引擎php yaf dispatcher 获取当前的请求实例
AJAX教程 目录
 ajax介绍
   ajax是什么
   ajax的作用
   ajax使用方法
 ajax使用流程
   ajax创对象建XMLHttpRequest对象
   ajax发送请求send
   ajax回调responseText
   ajax响应状态readyState
 ajax案例
   ajax async异步请求和同步请求
   ajax兼容源代码
   ajax加载json案例
   ajax加载xml案例
 XmlHttp 参考手册
   XMLHTTPRequest 对象
   XMLHTTPRequest 成员
   onreadystatechange
   readyState
   responseBody
   responseStream
   responseText
   responseXML
   status
   statusText
   abort
   getAllResponseHeaders
   getResponseHeader
   open
   send
   setRequestHeader
关注编程学问公众号
编程学问网 湘ICP备20001732号