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

AjaxÔ­ÀíÏêϸ½²½â ¼°´úÂë˵Ã÷ - Web ¿ª·¢ / Ajax

Çë½Ì¸ßÈË£¬AjaxÔ­ÀíÏêϸ½²½â ¼°´úÂë˵Ã÷
ÎÒ²Á£¬ÉÏgoogle°¡¡£

http://www.w3school.com.cn/ajax/index.asp

Â¥Ö÷ʲôÒâÍ¼ÄØ£¿


³ö ´¦:http://www.javaeye.com/topic/636187
û×ö¹ýwebǰ¶Ë£¬ËùÒÔÍêȫûÓÐÓùýJQuery£¬ÒÔǰÒòΪÐËȤ¶ÔjavascriptÉÔ΢¿´¹ýһЩ£¬µ«ÊDz»ÏµÍ³£¬²»ÉîÈ룬¶¼ÊÇdz³¢¶øÖ¹¡£ 
×î½üÒ»¶Îʱ¼ä£¬ËµÏв»ÏУ¬µ«¶Ôʲô¶¼Ìá²»ÆðÐËȤÀ´£¬´óºÃµÄʱ¹â¾Í±»ÎÒÕâÑù¾Í×ÅÂÒÆß°ËÔãµÄ°ËØÔÐÂΟø³ÔÏÂÈ¥ÁË¡£ 
¾ö¶¨¿´µã¶ù¶«Î÷£¬¿´µ½È«ÊÀ½ç¶¼ÔÚΪJQuery·è¿ñ£¬¾ÍÉÔ΢¿´¿´ËüµÄ¾ßÌåʵÏÖ¡£ 

JQueryÊÇʲô£¬ÓÐʲôÓŵã¶ù¾Í²»½²ÁË£¬GoogleÒ»´ó¶Ñ£¬ËµÒ²ÊÇÌùÈ˼ҵġ£ 
Ö±½ÓÉÏÔ´Â루ÒÔ°æ±¾1.4.2Ϊ׼£©¡£ 

Ê×ÏÈÓ³ÈëÎÒÃÇÑÛÁ±µÄÊÇÒ»¸ö´ó´óµÄÄäÃû·½·¨µ÷Óᣠ
Js´úÂë 
(function( window, undefined ) {  
....  
})(window);  

Õâ¶Î·½·¨³õ¿´ÆðÀ´Í¦Ææ¹Ö£¬Æäʵ¾ÍÊǶ¨ÒåÁËÒ»¸öÄäÃû·½·¨£¬È»ºóÔÙµ÷ÓÃËü¡£ 
ÄãÒ²¿ÉÒÔËæ±ã¶¨ÒåÒ»¸öÍæÍæ 
Js´úÂë 
(function( a, b) {  
  alert(a+b);  
})(1,2);  

ʲôʱºòÓÃÕâÖÖÆæ¹ÖµÄ·½Ê½£¿¾ÍÊǵ±·½·¨Ðë±»µ÷ÓÃÇÒÖ»»á±»µ÷ÓÃÒ»´ÎµÄʱºò¡£ 

È»ºó¿´¿´ÄäÃû·½·¨ÀïµÄʵÏÖ£¬Ê×ÏÈÊDZäÁ¿jQueryµÄÉùÃ÷£¬ÒÔ¼°½«ÆäÊä³öΪȫ¾Ö±äÁ¿¡£ 
Js´úÂë 
var jQuery = function( selector, context ) {  
  return new jQuery.fn.init( selector, context );  
  },  
..............  
window.jQuery = window.$ = jQuery;  


Ïà¹ØÎÊ´ð£º

Struts1.2 ½áºÏajax ¿ò¼Ü ÕûºÏÉý¼¶ - Java / Java EE

ÎÒÏÖÔÚÓиöÃÅ»§ÍøÕ¾£¬ÓÃStruts1.2×öµÄ£¬Ö®Ç°Ã»ÓÃajax,ÏÖÔÚÏë½áºÏajax ¿ò¼Ü ÕûºÏÉý¼¶¡£
Struts1.2 ºÍÄǸöajax ¿ò¼ÜÕûºÏµÄ±È½ÏºÃ¡£ÕûºÏÖ®ºóÌý˵ajax Õ¼ÄÚ´æÊ²Ã´¶¼²»Ð¡£¬°üÒ²²»Ð¡£¬´ó¼ÒÌÖÂÛһϰ¡¡£
ajax Êǿͻ§¶ËµÄ¶ ......

AjaxÎÞË¢ÐÂÏÂÔØ Çë¸÷λ´óϺÃǰï°ïæ°¡~

<script language="javascript">
  var XMLHttpReq;
  var cont=true;
//´´½¨XMLHttpRequest¶ÔÏó     
    function createXMLHttpRequest ......

ajaxµÄÎÊÌâ - .NET¼¼Êõ / ASP.NET

ÎÒÅóÓѵÄÒ»¸öASP.NETÒýÓÃÁËajax¼¼Êõ£¬binĿ¼ÏÂÃæÒ²ÓÐajaxpro.dll£¬ÎªÊ²Ã´·þÎñÆ÷²»ÐèÒª°²×°ajax²å¼þÒ²¿ÉÒÔÔËÐÐÄØ£¬ÕÕÀí˵Ӧ¸ÃÒª°²×°ASPAJAXExtSetup.msi
ÓÐ ajaxpro.dll¾Í¿ÉÒÔÁË

²»Í¬µÄaajx×é¼þ
AjaxPro¾ÍÊÇ¿ò¼ ......

.net 3.5 ·Óɹ¦ÄÜ Óëajax¿ò¼Ü³åÍ»£¬Çó½â

ÎÒÔÚʹÓ÷Óɹ¦ÄÜʱ£¬Óöµ½ÆäÓëajax¿ò¼ÜÆð³åÍ»µÄÎÊÌ⣬²»ÖªµÀÓÐûÓиßÊÖ¿ÉÒÔ·ÖÏí½â¾ö¾­Ñ飿»òÌṩ½â¾ö·½°¸¡£ÔÚ´ËÏÈл¹ý¡£¡£¡£
C# code:

IHttpHandler IRouteHandler.GetHttpHandler(RequestContext requestConte ......

Çë½ÌAJAXË¢ÐÂÎÊÌâ - .NET¼¼Êõ / ASP.NET

HTML code:

<tr>
<td valign="top" height="100%" id="TD1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat=&q ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ