.aspx

<Html>
<head>
   <title></title>
   <script type="text/javascript">
      var Div,xmlhttp;
      function getXmlHttp()
       {
           Div= document.getElementById("div1");
           Div.innerHTML = "正在装载栏目数据,请稍侯.......  ";
           Div.style.display = ""; 
           var strParm="*";
           xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
           xmlhttp.onreadystatechange = getAjaxValue;  
           xmlhttp.open("POST","Execute.aspx?type=1",true);   
           xmlhttp.send(strParm); 
       }
      function getAjaxValue()
      {
         if(xmlhttp.readystate ==4)
         {
            if(xmlhttp.status == 200)
               Div.innerHTML= xmlhttp.responseText;
            else
               Div.innerHTML = "加载失败,原因:"+xmlhttp.statusText
         }
      }
   </script>
</head>
<body>
   <form ]);
         switch(type)
         {
            //实现功能.
         }
        Response.Write(返回值);

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-28
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
猜你喜欢
  • 2021-12-26
  • 2021-12-18
  • 2021-09-19
  • 2021-07-17
  • 2021-11-11
  • 2021-10-23
相关资源
相似解决方案