The author has 2 posts.
Font size: Small - 100% (Default)  Content converter: No conversion
 
Clicks Replies
1206 1
【ASP】AJAX快速发送函数
产品的注销
初入江湖 七级
Reply
Floor 1 Posted at: 1/22/11 15:20
function Ajaxs(e){
if (window.ActiveXObject){
    xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
    }else if (window.XMLHttpRequest){
    xmlHttp = new XMLHttpRequest();
    }
xmlHttp.open("get",e,true);
xmlHttp.onreadystatechange=AjaxHt1;
xmlHttp.send(null);
}
function AjaxHt1(){
if ( xmlHttp.readyState==4 ) {
      if ( xmlHttp.status==200 ) {
   return true;
   }
}
}

调用:Ajaxs(地址)
如:Ajaxs("d.asp?f=44")
即可执行d.asp里的内容

产品的注销
初入江湖 七级
Reply
Floor 2 Posted at: 1/22/11 15:20
2010年05月08日 15:09
Reply the post
Content:
User: You are currently anonymous.
Captcha:
Unclear? Try another one.
(Shortcut key: Ctrl+Enter)
Post Information
Clicks: 1206 Replies: 1
Author: 产品的注销
Last reply: 产品的注销
Last reply time: 1/22/11 15:20
Bar Good Posts
Announcements