Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

¼òµ¥AJAX ʹÓÃ

 var xmlHttp;
    function createXMLHttpRequestss() {
     if (window.ActiveXObject) {
      xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
     }else if (window.XMLHttpRequest) {
      xmlHttp = new XMLHttpRequest();
     }
    }
     
     function startRequest(){
     var projectName = document.getElementById("pronameid").value;
     var alarmName = document.getElementById("alarmNameId").value;
      var url = "getAgentNo.action?randcount="+Math.random()+"&code="+document.getElementById("selectId").value+"&alarmName="+alarmName+"&projectName="+projectName+"&skillName="+document.getElementById("skillGroupId").value;
      createXMLHttpRequestss();
         xmlHttp.onreadystatechange = handleStateChange;
      xmlHttp.open("get",url,false);
      xmlHttp.send(null);
     }
    
     function handleStateChange(){
      if(xmlHttp.readyState == 4 ) {
              if(xmlHttp.status == 200) {
               if(xmlHttp.responseText == null || xmlHttp.responseText == ""){
                return;
               }
        var obj =eval('('+ xmlHttp.responseText+')');
       


Ïà¹ØÎĵµ£º

php ajax mysql±àÂëgb2312

 1¡¢PHP·¢ËÍÖÐÎÄ¡¢Ajax½ÓÊÕ
Ö»ÐèÔÚphp¶¥²¿¼ÓÈëÒ»¾ä£º
header('Content-type: text/html;charset=GB2312');
xmlHttp»áÕýÈ·½âÎöÆäÖеÄÖÐÎÄ¡£
2¡¢Ajax·¢ËÍÖÐÎÄ¡¢PHP½ÓÊÕ
Õâ¸ö±È½Ï¸´ÔÓ£º
AjaxÖÐÏÈÓÃencodeURIComponent¶ÔÒªÌá½»µÄÖÐÎĽøÐбàÂë
PHPÖУº
$GB2312string=iconv( ‘UTF-8′, ‘gb2312//I ......

³õʶAjax¼¼Êõ2


 ÊµÏÖ×¢²á½çÃæÎÞË¢ÐÂÅжÏÖØÃû£¬ÓÉÓÚÒª·ÃÎÊÊý¾Ý¿â£¬ËùÒÔÒª´ïµ½ÎÞˢУ¬Ö»ÄÜÓÃAjax¼¼Êõ¡£
 ÆäÖÐ×îÖØÒªµÄ¾ÍÊÇxmlHttp¶ÔÏó¡£
XmlHttpÊÇʲô£¿
×îͨÓõ͍ÒåΪ£ºXmlHttpÊÇÒ»Ì׿ÉÒÔÔÚJavascript¡¢VbScript¡¢JscriptµÈ½Å±¾ÓïÑÔÖÐͨ¹ýhttpЭÒé´«ËÍ»ò´Ó½ÓÊÕXML¼°ÆäËûÊý¾ÝµÄÒ»Ì×API¡£XmlHttp×î´óµÄÓô¦ÊÇ¿ÉÒÔ¸üÐÂÍøÒ³µ ......

c#ÖеÄAjaxÉÏÊÖÆª£­£­£­·Çͬ²½ÇëÇóresponseXML

ÉÏÆª½éÉÜÁËÈçºÎÔÚAjax¿Í»§¶ËÓë·þÎñÆ÷¶ËÖ®¼ä´«Ëͼòµ¥µÄÎı¾Êý¾Ý£¬Æäʵ£¬Ò²¿ÉÒÔʹÓÃXML×÷ΪÊý¾Ý´«ËÍ¡¢¹µÍ¨µÄ¸ñʽ£¬Ajax¿Í»§¶ËÈôÒª·¢ËÍXML£¬»ù±¾ÉϾÍÊǽ«XML×÷Ϊ×Ö·û´®£¬ÔÚPOSTÇëÇóʱ·¢ËÍ£¬ÀýÈ磺
*HelloAjax.js
var xmlHttp;
function createXMLHttpRequest() {
if (window.XMLHttpRequest) {
xmlHttp = new ......

drupalÄ£¿é: Ajax Slideshow

Ajax Slideshow http://drupal.org/project/ajax_slideshow View CVS instructions Modules · Content display udig - October 17, 2009 - 12:05 Sequential presentation of any of your site nodes, using fade effect based on ajax asynchronous calls. Why? Indeed there are plenty of slideshow modules ......

drupalÄ£¿éÍÆ¼ö£ºAJAX Comments

http://drupal.org/project/ajax_comments AJAX Comments View CVS instructions Modules · Content display neochief - December 18, 2008 - 12:44 One of the most wanted Drupal modules :) Module is now depends on Comments bonus API! Features in 6.x: Provides ajax comments to drupal sites. Feature ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ