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

abort

取消当前请求

语法

oXMLHttpRequest.abort();

备注

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

参考

readyState 属性
open 方法

相关文章
spring 获取当前请求httpservletrequest对象的方式xmlhttprequest abort取消当前请求xmlhttprequest onreadystatechange 响应状态改变方法xmlhttprequest open 打开创建请求xmlhttprequest responsexml 请求返回xmlxmlhttprequest setrequestheader 设置指定请求头xmlhttprequest readystate 请求状态xmlhttprequest send 发送请求php 数组 函数 从数组中将变量导入到当前的符号表php ftp 函数 请求运行一条 ftp 命令php iconv 函数 为字符编码转换设定当前设置php postgresql 函数 取消异步查询php postgresql 函数 取消 bytea 类型中的字符串转义php session 函数 将当前会话数据编码为一个字符串php imagick 把 imagickdraw 对象渲染到当前图片上php mysqli 回退当前事务php seaslog 获得当前 seaslog 中用于区分请求的 request idphp seaslog 设置可以由 seaslog 用于区分请求的 request idphp yaf dispatcher 获取当前的yaf dispatcher实例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号