Ajax核心三部曲
来源:互联网 发布:sai for mac 没有压感 编辑:程序博客网 时间:2024/06/04 17:53
〈script lanuage = "javaScript"〉
//创建对象
function createXMLHttpRequest(){
if(window.ActiveXObject){
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
}
else if(window.XMLHttpRequest){
xmlHttp = new XMLHttpRequest();
}
}
//前台界面事件调用的函数
function checkName(){
createXMLHttpRequest();
xmlHttp.onreadystatechange = handleStateChange;
var sql = "UserReg.aspx?";
xmlHttp.open("GET",sql,true);
xmlHttp.send(null);
}
//和服务器交互期间执行的函数
function handleStateChange(){
if(xmlHttp.readyState == 4){
if(xmlHttp.status == 200){
document.getElementById("divx").innerHTML = xmlHttp.responseText;
}
}
}
〈script〉
- AJAX 核心三部曲
- ajax核心三部曲
- AJAX 核心三部曲
- Ajax核心三部曲
- AJAX核心三部曲
- Ajax核心
- Ajax服务三部曲:Why not,Why,When
- 快速、简便使用AJAX技术的三部曲
- 《Ajax实战》三部曲之“王者归来”
- 三部曲
- 三部曲
- Ajax核心和AJAX框架
- Ajax&Json<2>Ajax核心
- Ajax 的核心价值
- Ajax核心对象-- XMLHttpRequest
- Ajax核心工作机制
- AJAX核心XMLHttpRequest对象
- ajax核心代码
- Cscope 的使用
- UBuntu8.10 开发第一个基本Linux 驱动内核模块
- 解决bash: ifconfig: command not found
- Apriori
- How to develop a window mobile application
- Ajax核心三部曲
- Sql: MS SQL数据类型及长度限制
- 一种基于Apriori的关联规则挖掘算法
- 使用solr搭建你的全文检索
- PHP中上传大体积文件时需要的设置
- 通过crosstool制作交叉编译工具
- 传智播客Web Service学习,web service的原理和功能
- 读取Windows下注册表,适用于Window Mobile
- 代理模式学习笔记