xmlHttp.onreadystatechange = callback;
function callback() {
if (xmlHttp.readyState == 4) {
if (xmlHttp.status == 200 ) {
// do something interesting here
}
}
}
阮一峰的IT笔记:首页 -> 分类 -> Javascript 查看所有文章:按分类 | 按月份
xmlHttp.onreadystatechange = callback;
function callback() {
if (xmlHttp.readyState == 4) {
if (xmlHttp.status == 200 ) {
// do something interesting here
}
}
}
« XMLHttpRequest属性 | 首页 | XMLHttpRequest简单请求的示例 »
This page contains a single entry from the blog posted on 2007年05月06日 01:10.
The previous post in this blog was XMLHttpRequest属性.
The next post in this blog is XMLHttpRequest简单请求的示例.
Many more can be found on the main index page or by looking through the archives.