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

Ajax ¼òµ¥Ê¾Àý

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
   <title>xmlhttprequest ajax demo</title>
    <script type ="text/javascript" language ="javascript" >
        var req; //¶¨Òå±äÁ¿£¬ÓÃÀ´´´½¨xmlhttprequest¶ÔÏó
        function creatReq() // ´´½¨xmlhttprequest,ajax¿ªÊ¼
        {
            var url="ajaxServer.aspx"; //ÒªÇëÇóµÄ·þÎñ¶ËµØÖ·
            if(window.XMLHttpRequest) //·ÇIEä¯ÀÀÆ÷¼°IE7(7.0¼°ÒÔÉÏ°æ±¾)£¬ÓÃxmlhttprequest¶ÔÏó´´½¨
            {
                req=new XMLHttpRequest();
            }
            else if(window.ActiveXObject) //IE(6.0¼°ÒÔÏ°汾)ä¯ÀÀÆ÷ÓÃactivexobject¶ÔÏó´´½¨,Èç¹ûÓû§ä¯ÀÀÆ÷½ûÓÃÁËActiveX,¿ÉÄÜ»áʧ°Ü.            {
                req=new ActiveXObject("Microsoft.XMLHttp");
            }
            
            if(req) //³É¹¦´´½¨xmlhttprequest
            {
                req.open("GET",url,true); //


Ïà¹ØÎĵµ£º

½«jQueryÓ¦ÓÃÓÚAsp.net Ajaxʱ£¬Ó¦±ÜÃâµÄ3¸ö´íÎó

3 mistakes to avoid when using jQuery with ASP.NET AJAX
AJAX, ASP.NET, JavaScript, jQuery By Dave Ward on June 5th, 2008
Over the past few weeks, I think I have definitely embodied Jeff Atwood’s claim that we’re all amateurs, learning together. Despite my best efforts to thoroughly tes ......

ÔöÇ¿AJAX/Javascript/JSÍøÒ³ÎÄ×ÖץȡÄÜÁ¦


±¾ÎÄÊǶԡ¶AJAX¶¯Ì¬ÍøÒ³ÐÅÏ¢ÌáÈ¡Ô­Àí¡·
µÄ²¹³ä£¬Ç°ÎÄ×ܽáÁËÁ½ÖÖAJAXÍøÒ³ÎÄ×ÖµÄץȡ·½·¨£º
ÍøÒ³ÎÄ×ÖÔÚ¼ÓÔØHTMLÎĵµ£¨document£©µÄʱºòÓÃJavascript´úÂë»ñÈ¡ºÍÕ¹ÏÖ£¬´ËJavascript´úÂëÔÚ·¢ËÍloadʼþ֮ǰÔËÐУ¬ÄÇô½ÓÊÕµ½loadʼþ±íʾËùÓеÄÄÚÈݶ¼¼ÓÔØÍêÁË
ÍøÒ³ÎÄ×ÖÔÚ¼ÓÔØÍêHTMLÎĵµ£¨document£©ºóÔÚij¸öʱ¿ÌÓÃJavascript ......

Ajax ʵÏÖ


ÔÚÒѾ­·¢²¼µÄ ASP.NET2.0 ÖУ¬ÎÞË¢ÐÂÒ³Ã濪·¢Ïà¹Ø²¿·Öͬ beta2 Óв»ÉٸĶ¯¡£¶øÇÒÔÚÔ½À´Ô½¶àµÄ Ajax ¿ª·¢°ü±»¿ª·¢³öÀ´µÄÇé¿öÏ£¬ ASP.NET2.0 ×Ô´øµÄÎÞË¢ÐÂÒ³Ãæ¼¼ÊõûÓб»ºÜ¶àÈËÁ˽⣬ÉõÖÁ²»ÉÙÈËÈÏΪ¸Ã¹¦ÄÜÓÐЩ“¼¦Àß”¡£µ«Èç¹ûÎÒÃǽö½öÊÇÔÚ³ÌÐòÖмÓÈëºÜÉÙ²¿·ÖµÄ Ajax ÌØÐÔ£¬ Atlas ¡¢ Ajax.Net µÈ¾ÍÏÔµÃÓÐЩ&ldq ......

Ajax¿Ø¼þ½é紹 1

Ajax¿Ø¼þ½é紹
1. Accordion
¡¾¹¦ÄܸÅÊö¡¿Accordion¿ÉÒÔÈÃÄãÉè¼Æ¶à¸öpanel ²¢ÇÒÒ»´ÎÖ»ÏÔʾһ¸öPanel .ÔÚÒ³ÃæÉϵÄÏÔʾЧ¹û¾ÍÏñÊÇʹÓÃÁ˶à¸öCollapsiblePanelsÖ»²»¹ýÿһ´ÎÖ»Õ¹¿ªÆäÖÐÒ»¸öCollapsiblePanel.Accordion¿Ø¼þÄÚ²¿°üº¬ÁËÈô¸É¸öAccordionPane£¬Ã¿Ò»¸öAccordionPaneµÄtemplateÀï°üÀ¨Á˶ÔÆäHeaderºÍContentµÄ¶ ......

AJAXÅäÖöà¸ödwrÎļþ

Ò»°ãÀ´Ëµ£¬ÄãÖ»ÐèÒªÒ»¸ödwr.xmlÎļþ£¬²¢ÇÒ·ÅÖÃÔÚĬÈϵÄλÖãºWEB-INF/dwr.xml¡£ Èç¹ûÄÇÑùµÄ»°£¬Äã¿ÉÒÔ²»ÓÃÁ˽âÏÂÃæµÄÅäÖá£
ÓÐÈý¸öÔ­ÒòʹÄãÏ£ÍûÖ¸¶¨²»Í¬Î»ÖõÄdwr.xmlÎļþ¡£
ÄãÏ£ÍûÈÃdwr.xmlÎļþºÍËüÄÜ·ÃÎʵ½µÄ×ÊÔ´ÔÚÒ»Æð¡£ÔÚÕâÖÖÇé¿öÏÂÄãÐèÒªÒ»¸öÕâÑùµÄÅäÖ㺠<param-value>WEB-INF/classes/com/yourco/dwr/dwr. ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ