ajax实现
来源:互联网 发布:苹果电脑软件卡死了 编辑:程序博客网 时间:2024/05/16 19:10
function getXmlhttp(){
var xmlHttp=null;
try{
xmlHttp=new XMLHttpRequest();
}catch(e){
try{
xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
}
catch(e){
try{
xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
}catch(e){
alert(" ");
}
}
}
}
/*url——url;method(post/get);con(true(异步)|false(同步));parameter(参数)
function Ajax(url,methodtype,con,parameter,functionName,obj){
var xmlHttp=getXmlhttp();
if(xmlhttp.onreadyState==4){
functionName(xmlhttp,obj);
};
xmlhttp.open(methodtype,url,con);
xmlhttp.send(parameter);
}
- AJAX-jQuery实现Ajax
- Ajax 实现
- ajax实现
- Ajax 实现
- ajax实现
- Ajax实现
- AJAX-prototype.js实现Ajax
- javascript实现AJAX
- ajax实现DropDownList 联动
- Ajax实现分页查询
- DWR 实现AJAX学习
- ajax简单引擎实现
- AJAX实现添加删除
- AJAX实现注册
- Ajax实现分页查询
- 简单的ajax实现
- ajax实现用户登陆
- DWR 实现AJAX学习
- 有关标注(记)表达式的更多信息 (copied)
- wubi重装并还原ubuntu
- struts2的缺点(自认为)
- ubuntu 下sublime安装
- 哈夫曼编码
- ajax实现
- spring+freemarker 国际化i18n
- image download from google by python
- secure CRT中文显示乱码解决方法
- OpenLayers(Layer1)
- Java中枚举类的定义以及使用
- C++中基本数据类型字节数及取值范围,下面有实现查看代码和运行截图
- c++/c
- jquery 中post 、get的同步问题