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

ʹÓÃjQuery·¢ËÍAJAXÇëÇóʱ²»»º´æ

ͨ¹ýjQuery·¢ËÍajaxÇëÇó£¬ÎÞÂÛÊÇget·½Ê½»¹ÊÇpost·½Ê½£¬µ±Ç°ºóÁ½´ÎÇëÇóµÄ²ÎÊýÍêÈ«Ò»Ñùʱ£¬ä¯ÀÀÆ÷¾ÍÓпÉÄܵ÷Óûº´æÀïµÄÊý¾Ý£¬×îÖ±½ÓµÄ½á¹û¾ÍÊÇÔì³ÉÓÐЩ²Ù×÷ûÓÐÉúЧµÄ¼ÙÏó¡£ÕâÖÖÇé¿ö£¬ÎÒÃÇÓ¦¸Ãͨ¹ýÏÂÃæÕâ¸ö¼¼ÇÉÀ´±ÜÃâä¯ÀÀÆ÷µ÷Óûº´æÀïµÄÄÚÈÝ¡£
ÏÈÕûÀíÏÂ˼·£¬ä¯ÀÀÆ÷Ö®ËùÒÔµ÷Óûº´æÀïµÄÄÚÈÝ£¬×îÖ÷ÒªµÄÒ»µãÊÇÅж¨ÏÖÔÚÒª·ÃÎʵÄÄÚÈݺÍ֮ǰµÄÊÇÒ»ÑùµÄ£¬ÄÇÎÒÃǽâ¾öÕâ¸öÎÊÌâµÄ·½·¨¾ÍÃ÷È·ÁË£¬ÔõôÈÃÇ°ºóÁ½´ÎµÄÄÚÈݲ»Ò»Ñù¡£ÕâÀï½éÉܵļ¼ÇÉÊÇΪ²éѯÇëÇóÔö¼ÓÒ»¸öËæ»úµÄ²ÎÊý¡£
¶ÔÓÚgetÇëÇó£º
url = "someurl.php?id=123";url += "&anticache=" + Math.floor(Math.random()*1000)$.get(url);
¶ÔÓÚpostÇëÇó£º
parms = { id : "123", anticache : Math.floor(Math.random()*1000)}$.post("someurl.php", parms);
С½á
±àд½Å±¾µÄ¹ý³ÌÖУ¬·¢ÏÖÓ¦¸ÃΪ´ó¶àÊýÇëÇóÌí¼ÓËæ»ú²ÎÊý£¬ÕâÑù¿ÉÒÔ±£Ö¤»ñÈ¡Êý¾ÝµÄʵʱÐÔºÍ׼ȷÐÔ¡£


Ïà¹ØÎĵµ£º

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.
  ......

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

ºÜ¶àÈËÔÚʹÓÃAJAXµ÷ÓñðÈËÕ¾µãÄÚÈݵÄʱºò,JS»áÌáʾ"ûÓÐȨÏÞ"´íÎó£¬ÕâÊÇXMLHTTP×é¼þµÄÏÞÖÆ-°²È«Æð¼û
½ûÖ¹·ÃÎÊ·ÇͬÓòµÄÍøÕ¾,ÏÂÃæÒ»¸öÀý×ÓÀ´·ÃÎÊhttp://www.google.cn,
<script type="text/javascript">
function createobj() {
if (window.ActiveXObject) {
        &nb ......

̽ÌÖASP.NET MVC¿ò¼ÜÄÚÖÃAJAXÖ§³Ö±à³Ì¼¼Êõ


´«Í³ÐÍASP.NET Web FormsÊÇ»ùÓÚͬʱ°üº¬Á˱íÏÖ²ãºÍºǫ́´úÂëµÄWebÒ³Ã棬ËùÒÔ£¬½ôËæÆäºó³öÏÖµÄASP.NET AJAX£¬ÌرðÊÇÕâ¸ö¿ò¼ÜµÄ·þÎñÆ÷¶Ë¿Ø¼þ²¢Ã»ÓÐÏñËüÃDZ¾Ó¦¸ÃµÄÄÇÑù¹ââËÄÉä¡£ÓÚÊÇ£¬ºÜ¶à¸úËæAJAXʱ÷ÖµÄASP.NET¿ª·¢ÕßÖ»ÊÇÏòASP.NETÒ³ÃæÖÐËæÒâµØ·ÅÖÃһЩUpdatePanel¿Ø¼þÒÔ±ãʹÆä³ÌÐòʵÏÖ»ù±¾µÄAJAXÖ§³Ö¡£Êµ¼Ê ......

Asp.netʹÓÃajaxÎÞË¢ÐÂÉÏ´«Îļþ£¨¸½Ô´Â룩

ʹÓÃAjaxÎÞË¢ÐÂÉÏ´«ÎļþÊǵ±Ç°±È½ÏÁ÷ÐеŦÄÜ¡£½èÖúJQueryÇ¿´óµÄ²å¼þ£¬ÏÖÔÚÒѾ­¿ÉÒÔºÜÈÝÒ×ÁË¡£
Ê×Ïȵ¼ÈëjsÎļþjquery.ajaxfileupload.js¡£´Ë²å¼þµÄÔ­ÀíÊÇÔÚÎĵµÖд´½¨iframeºÍformÈ»ºóÔÚ½«ÎļþÉÏ´«µ½·þÎñÆ÷¡£
 1 <html xmlns="http://www.w3.org/1999/xhtml">
 2 <head id="Head ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ