XHR2-XMLHttpRequest
来源:互联网 发布:ssm框架的crm系统源码 编辑:程序博客网 时间:2024/05/14 04:57
XMLHttpRequestLevel 2的一些新特性:
attribute type Explanation
- 设置过期时间
- 使用FormData更好的数据托管
- 传送二进制流
- 添加了发送进度改变事件,可以侦听发送了多少字节。
- 允许安全跨域,类似于加载其他域的script.
- 可复写加载内容的MIME type和编码
XHR的事件例表:
onloadstart
loadstart
When the request starts.onprogress
progress
While loading and sending data.onabort
abort
When the request has been aborted, either by invoking theabort()
method or navigating away from the page.onerror
error
When the request has failed.onload
load
When the request has successfully completed.ontimeout
timeout
When the author specified timeout has passed before the requestcould complete.onloadend
loadend
When the request has completed, regardless of whether or not itwas successful.
- XHR2-XMLHttpRequest
- XHR2.0
- Ajax XHR2详解
- Ajax XHR2详解
- XHR2,请求XML
- XMLHttpRequest
- XMLHttpRequest
- XMLHTTPRequest
- XMLHTTPRequest
- XMLHttpRequest
- XMLHttpRequest
- XMLHttpRequest
- XMLHttpRequest
- xmlhttprequest
- XMLHttpRequest
- XMLHttpRequest
- xmlhttprequest
- XMLHttpRequest
- Andriod API之Handler
- 我的Android进阶之旅------>HTTP Header 详解
- 东风风神S30 1.5MT 模仿中进步
- Android中设置EditText默认无焦点
- Struts2 S标签 数目字格式化成金额输出(保留两位小数)
- XHR2-XMLHttpRequest
- 在marvel166平台上面调试DDR
- 【Tech-Android-Jni】Jni的Jclass JmethodID JfrieldID的差异
- FTP的使用和注意事项
- JS将浮点数四舍五入,取小数点后2位
- Dev控件中GridControl控件的事件方法
- Leetcode Maximum Subarray
- bootloader
- cocos2d-x按钮CCControlButton的用法