JBOSS 點滴

          豐豐的博客

          AJAX學習筆記

          一:Ajax思路:
          ?? 1: send_request('sample1_2.jsp?username='+username);
          ?? 2:?? http_request = new ActiveXObject("Msxml2.XMLHTTP");
          ?? 3:http_request.onreadystatechange = processRequest;
          ?? 4:http_request.open("GET", url, true);
          ??? http_request.send(null);
          ? 5:if (http_request.readyState == 4)
          ??? if (http_request.status == 200)
          ?說明:alert(http_request.responseText);返回整個頁面內容

          posted on 2006-12-22 16:40 半導體 閱讀(186) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 砚山县| 西平县| 太白县| 夏河县| 荣昌县| 新沂市| 科尔| 应城市| 梁平县| 英吉沙县| 珲春市| 江陵县| 梅州市| 舞钢市| 东阳市| 溧水县| 尼玛县| 资源县| 吉隆县| 慈溪市| 洮南市| 沐川县| 晋江市| 基隆市| 新郑市| 新闻| 胶州市| 本溪| 临安市| 博湖县| 德惠市| 淮阳县| 青海省| 文安县| 临泉县| 贵溪市| 凭祥市| 左贡县| 双桥区| 防城港市| 洞口县|