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

AjaxÓëIE6»º´æÎÊÌâ

½ñÌ죬ÓÐͬÊ·¢ÏÖÏà¹ØÒµÎñÊý¾ÝÐ޸ĺó£¬ÔÚIE6Ï»¹ÊÇÏÔʾÐÞ¸ÄǰµÄÖµ¡£µ«ÔÚÆäËûä¯ÀÀÆ÷ºÍIE7¡¢IE8Ï£¬Ã»ÓÐÕâ¸öÎÊÌâ¡£
Ô­Òò£ºÓÃajaxÇëÇóʱ£¬Èç¹û³öÏÖÖØ¸´µÄURL£¬ä¯ÀÀÆ÷²»»áÏò·þÎñÆ÷·¢ËÍÇëÇ󣬶øÊǸù¾Ý֮ǰÏàͬµÄURLÇëÇó½á¹û·µ»Ø¡£Ô­Òò¾ÍÔÚÓÚ֮ǰµÄÇëÇó¼°½á¹ûÒѾ­±£´æÔÚÁË
»º´æÀÈç¹ûÓöµ½ÏàͬURLʱ£¬½á¹ûÊÇÖ±½Ó´Ó»º´æÀïÈ¡µÃ¡£
½â¾ö°ì·¨£º
1¡¢ÉèÖÃIE6Öй¤¾ß-internetÑ¡Ïî-InternetÁÙʱÎļþ-ÉèÖÃ-¼ì²éÿ´ÎÍøÒ³µÄ½Ïа汾-ÉèÖÃΪÿ´Î·ÃÎÊ´Ëҳʱ¼ì²é¡£
2¡¢ÔÚIE·¢ËÍajaxÊý¾Ýʱ£¬·¢ËÍÒ»¸öËæ»úʱ¼ä´Á¡£¼´Ö»ÒªÈÃÿ´ÎÇëÇóµÄURL²»Ò»Ñù¾Í¿ÉÒÔÁË£¬±ÈÈçÿ´ÎÇëÇóʱÔÚURLÖмÓÉÏʱ¼äµÄºÁÃëÊý»òËæ»úÊý£¨new Date().getTime()»òÕßMath.Random()
£©¡£
ÁíÍâ£¬ÍøÉÏ»¹Óкܶà½â¾ö·½·¨£º
1.ËÍÇëÇóǰ¼ÓÉÏ
XMLHttpRequest.setRequestHeader("If-Modified-Since","0")
»òÕßÓÃpost·½·¨Ìá½»
2.·þÎñÆ÷¶Ë½ûÓûº´æ£¨Ö»ÊǽûÖ¹ÁË·þÎñ¶Ë»º´æ£¬²»ÄܽûÖ¹ajax»º´æ£©
.
response.setHeader("Pragma","No-cache");
response.setHeader("Cache-Control","no-cache");
response.setDateHeader("Expires", 0);

3.ÕâÆªÎÄÕÂÖµµÃ²Î¿¼http://www.phpdiy.com/index.php/viewnews-31462


Ïà¹ØÎĵµ£º

Asp.netÖеÄAJAX¿Ø¼þ


Accordion¿Ø¼þʱµÄ³£ÓÃÊôÐÔ±êÇ©
ÊôÐÔ±êÇ©Ãû Ãè¡¡¡¡Êö
SelectedIndex ¸Ã¿Ø¼þ³õ´Î¼ÓÔØÊ±Õ¹¿ªµÄAccordionPaneÃæ°åµÄË÷ÒýÖµ
HeaderCssClass ¸ÃAccordionÖаüº¬µÄËùÓÐAccordionPaneÃæ°åµÄ±êÌâÇøÓòËùÓ¦ÓõÄCSS Class
ContentCssClass ¸ÃAccordionÖаüº¬µÄËùÓÐAccordionPaneÃæ°åµÄÄÚÈÝÇøÓòËùÓ¦ÓõÄCSS Class
AutoSize Ô ......

Ajax/json/js ѧϰ±¸Íü

±Õ°ü¸ÅÄ±Õ°ü¾ÍÊÇÄܹ»¶ÁÈ¡ÆäËûº¯ÊýÄÚ²¿±äÁ¿µÄº¯Êý¡£
ÓÉÓÚÔÚJavascriptÓïÑÔÖУ¬Ö»Óк¯ÊýÄÚ²¿µÄ×Óº¯Êý²ÅÄܶÁÈ¡¾Ö²¿±äÁ¿£¬
Òò´Ë¿ÉÒ԰ѱհü¼òµ¥Àí½â³É“¶¨ÒåÔÚÒ»¸öº¯ÊýÄÚ²¿µÄº¯Êý”¡£
function f1(){
¡¡¡¡¡¡¡¡n=999;
¡¡¡¡¡¡¡¡function f2(){
¡¡¡¡¡¡¡¡¡¡¡¡alert(n);
¡¡¡¡¡¡¡¡}
¡¡¡¡¡¡¡¡return f2;
¡¡¡¡}
......

AjaxʵÏÖÔ­Àí

    µ±ÏÂÊ¢ÐеÄAjax
    ÏÖÔÚAjax¿ò¼ÜÊý²»Ê¤Êý£¬AjaxµÄ¹¦ÄÜҲ̫ÅÓ´óµÄÒÔÖÁÓÚËüÁ¬ËüµÄ¸¸±²Javascript¶¼´ø¶¯ÆðÀ´ÁË£¬¼ÇµÃÎÒ×î³õ½Ó´¥webµÄʱºòJavascript»¹Ã»µ½´ïÓÐÏÖÔڵĸ߶ȣ¬Èç½ñËæ×ſͻ§ÌáÐÑÔ½À´Ô½ÖØÒª£¬ºÜ¶àÈí¼þ¿ª·¢²¢²»½ö½öÍ£ÁôÔÚ¹¦ÄÜʵÏÖµÄÒªÇóÉÏ£¬¶øÊǸü×¢ÖØ½»»¥¡¢·ÖÏíºÍ»¥¶¯£¨ÕâÒ²ÊÇw ......

jQuery Ajax ʵÀý È«½âÎö

jQuery Ajax ʵÀý È«½âÎö
Òý×Ô:http://www.pqshow.com/design/Javascript/200909/10473.html
jQueryȷʵÊÇÒ»¸öͦºÃµÄÇáÁ¿¼¶µÄJS¿ò¼Ü£¬ÄܰïÖúÎÒÃÇ¿ìËٵĿª·¢JSÓ¦Ó㬲¢ÔÚÒ»¶¨³Ì¶ÈÉϸıäÁËÎÒÃÇдJavaScript´úÂëµÄϰ¹ß¡£
·Ï»°ÉÙ˵£¬Ö±½Ó½øÈëÕýÌ⣬ÎÒÃÇÏÈÀ´¿´Ò»Ð©¼òµ¥µÄ·½·¨£¬ÕâЩ·½·¨¶¼ÊǶÔjQuery.ajax()½øÐзâ×°ÒÔ·½±ãÎÒÃÇ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ