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

ÈçºÎ½â¾öAJAXÖпçÓò·ÃÎʳöÏÖ'ûÓÐȨÏÞ'µÄ´íÎó

ºÜ¶àÈËÔÚʹÓÃAJAXµ÷ÓñðÈËÕ¾µãÄÚÈݵÄʱºò,JS»áÌáʾ"ûÓÐȨÏÞ"´íÎó£¬ÕâÊÇXMLHTTP×é¼þµÄÏÞÖÆ-°²È«Æð¼û
½ûÖ¹·ÃÎÊ·ÇͬÓòµÄÍøÕ¾,ÏÂÃæÒ»¸öÀý×ÓÀ´·ÃÎÊhttp://www.google.cn,
<script type="text/javascript">
function createobj() {
if (window.ActiveXObject) {
         return new ActiveXObject("Microsoft.XMLHTTP");
     }
     else if (window.XMLHttpRequest) {
         return new XMLHttpRequest();
     }
}
function getWebPage(url) {
  var oBao=createobj();
  var my_url=url
  oBao.open('get',my_url,false);
  oBao.onreadystatechange=function(){
       if(oBao.readyState==4){
            if(oBao.status==200){
              var returnStr=oBao.responseText;
              document.write(returnStr);
            }else{
              document.write("δÕÒµ½ÄúÊäÈëµÄµØÖ·»ò·þÎñÆ÷505´íÎó!");
            }
       }
  }
  oBao.send(null);
}
getWebPage('http://www.google.cn');
</script>
  ±£´æÕâ¶Î´úÂëµ½test.html,ÔÚ±¾µØÖ±½ÓÓÃIE´ò¿ªÃ»ÎÊÌâ,µ«½«¸Ã¶Î´úÂëÉÏ´«µ½·þÎñÆ÷ºó£¬ÎÊÌâ³öÏÖÁË--JSÌáʾ"ûÓÐȨÏÞ"´íÎó!!!Õâ¸ÃÈçºÎ½â¾öÄØ£¿
  ÏÂÃæ˼¿¼Ò»Ï£º¼ÈÈ»²»ÄÜ·ÃÎÊ·ÇͬÓòµÄ£¬Ö»ÄÜ·ÃÎÊͬÓòµÄµØÖ·ÁË£¬Í¬ÓòµÄ¶¯Ì¬ÎļþÔõô»ñÈ¡·ÇͬÓòÍøÒ³ÄÚÈÝÄØ£¿ÎÒÃÇ»¹ÊÇÏëµ½µÄAJAX£¬Ö»²»¹ýÕâ¸öAJAXÊÇÔÚ·þÎñÆ÷¶ËÖ´ÐÐ.
   ´óÌå˼·ÊÇÕâÑùµÄ:Ê×ÏȽ«URLÓÃAJAXÌá½»¸ø×Ô¼ºÕ¾ÄÚµÄÎļþ£¬ÀýÈçgetPage.asp---ÔÚgetPage.aspÔÙ´Îͨ¹ý·þÎñÆ÷


Ïà¹ØÎĵµ£º

ÀûÓÃajaxpro.dll½øÐÐAjaxµÄ¿ª·¢


ת£ºhttp://hi.baidu.com/playkk/blog/item/9b5f99952fb4c94fd0135e0c.html
1¡¢Ajax.net ×öΪAjax¼¼ÊõÔÚdotNet ¿ò¼ÜϵÄʵÏÖ£¬×÷ÕßMichael Schwarz²ÉÈ¡ÁËÒ»ÖÖ·âװЧ¹ûÏ൱°ôµÄ¼¼Êõ£º½«¿Í»§¶Ë´¦ÀíXML¡¢Ê¼þµ÷Ó÷½Ê½¶¼·â×°ÔÚ2¸öJavascriptÎļþÖУ¨AjaxPro.prototype.js ºÍAjaxPro.core.js£©£¬Í¬Ê±½«Õâ2¸öÖØÒªÎļþÒÔ×ÊÔ´µÄÐ ......

FABridge½Ì³Ì(Flex+Ajax)

½ñÌìÕÒһЩFlex×ÊÁÏ£¬Å¼È»·¢ÏֺܶàÈËÔÚÎÊÓйØFABridgeµÄÎÊÌ⣬¿´ÁËһϣ¬´óÖ¶¼ÊÇÔÚÎÊÔÚFlashBuilderÖÐÈçºÎͨ¹ýFABridgeÀ´ÊµÏÖF-AµÄ½»»¥¡£¼òµ¥ËµËµ°É¡£
Ò».ͨ¹ýjs·ÃÎÊFlex×é¼þ
    1.×¼±¸¹¤×÷¡£ÏȽ¨Á¢Flex¹¤³Ì :fademo£¬²¢·ÅÖÃÒ»¸öÎı¾¿ò:txtName¡£×öÍêºó´úÂëÓ¦¸ÃÀàËÆÓÚÕâ¸öÑù×Ó£º
<?xml version="1.0 ......

ASP.NET Ajax Video Notes

ASP.NET Ajax Videoѧϰ±Ê¼Ç
5. Make Client-Side Network Callbacks with ASP.NET AJAX?
Notes:
ÔÚ<ScriptManager>ÖÐÌí¼Ó<Services>
4. Implement Dynamic Partial-Page Updates with ASP.NET AJAX?
Notes:
UpdatePanel¿ÉÒÔÍê³É²¿·ÖÒ³ÃæµÄ¸üÐÂ
Èç¹ûButtonÔÚUpdatePanelÖУ¬¼´Ê¹ÔÚPageLoad()Öаüº¬¸üÐÂË ......

JavascriptºÍAjaxÖÐÎÄÂÒÂëÍÂѪ°æ½â¾ö·½°¸

Òý×Ô£ºhttp://www.cnblogs.com/dongritengfei/archive/2009/12/21/1628489.html
 
½ñÌìŪÁËÒ»ÌìµÄAjaxÖÐÎÄÂÒÂëÎÊÌ⣬AjaxµÄÂÒÂëÎÊÌâ·ÖΪÁ½ÖÖ£º
1. JavaScriptÊä³öµÄÖÐÎÄÂÒÂ룬
±ÈÈ磺alert("ÖÐÎÄÂÒÂë²âÊÔ");
½â¾öµÄ°ì·¨±È½Ï¼òµ¥£¬¾ÍÊÇ°ÑjspÀïËùÓеÄcharsetºÍpageEncodingµÄÖµ¶¼ÉèÖóÉÏàͬµÄ£¬Ò»°ãÊÇutf-8.
  ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ