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

ajaxµ½µ×ºÃ²»ºÃ£¿

µØÖ·£ºhttp://www.qhcar.cc/model/index.aspx?s=5£¬Õâ¸ö¾ÍÊÇǶÌ×ajax½á¹û¡£
http://www.qhcar.cc/model/index.aspx Õâ¸öÊǵ¥¸öµÄajax£¬
Óŵã¾ÍÊÇ¿ÉÒÔÓÃÒ»¸öÒ³ÃæʵÏÖÏÔʾȫ²¿³µÐͺͰ´¼¶±ðÑ¡Ôñ³µÐÍ£¬ÎªÁËÕչ˵¼º½ÉÏÃæÈç΢ÐͳµµÈÁ´½ÓÔÚ±ðµÄÒ³Ãæ½øÈ룬
http://www.qhcar.cc/model/index.aspx?s=5Õâ¸öµØÖ·²ÎÊýs£¬Åжϵ±s²»Îª¿Õ²¢ÇÒÊÇÊý×Öʱ£¬µÚÒ»´Îajax¼ÓÔص½ÉÏÃ漶±ðʱ²»ÔÙ¼ÌÐø¼ÓÔØ£¬¶øÊÇÅжÏs ±ÈÈçs=1 Ôòת¶ø¼ÓÔØ ¶Áȡ΢ÐͳµÊý¾ÝµÄajax.
µ«ÊDz»ÖªµÀÕâÑùʵÏֻ᲻»áÔì³É·þÎñÆ÷¸ºµ£¹ýÖØ£¬Èç¹ûÔÚä¯ÀÀÁ¿´óµÄÒ³ÃæʵÏÖÕâ¸öЧ¹û»á²»»áÔì³É·þÎñÆ÷±ÀÀ££¿»¹Ã»ÓвâÊÔ¡£
ÔÚajaxÖÐÈ¥µôÁËsid=" + Math.random()£¬Õâ¸ö¿ÉÒÔ·ÀÖ¹·Ã¿Í¶à´ÎË¢ÐÂÔì³ÉµÄ·þÎñÆ÷¸ºµ£¡£
±¾ÈËajaxÊǸöÐÂÊÖ¡£ÓÐʱºòÂß¼­ÉÏÒ²±È½Ï»ìÂÒ£¬ÉÏÃæдµÄÒ»µãÂß¼­¶¼Ã»ÓУ¬ºÜ¶àÈË¿´À´¿Ï¶¨Ëµ²»ÖªËùÔƺٺ٣¡
×î½ü×öÇຣÆû³µÍø µÄʱºò£¬Ê×Ò³µ¼º½ÓÒÏÂÒ»µãµÄÄǸö³µÐÍÑ¡Ôñ£¬ÏÖÔÚ¾ÍûÓÐÓÃajax£¬½á¹û·¢ÏÖÔÚûÓÐÔö¼ÓÕâ¸ö¹¦ÄܵÄʱºòÊ×Ò³ÔÚ´ø¿íΪ1MϲâÊÔ£¬È«²¿¼ÓÔØÍê³ÉÐèÒª´ó¸Å4Ãë×óÓÒʱ¼ä£¬µ«ÊǼÓÁËÕâ¸öÄ£¿éºóÏÖÔÚ±ä³ÉÁ˲¶à8Ãë¡£
ϸ²éÏ·¢ÏÖ£¬Ê×ҳȫ²¿Á´½Ó¼ÓÆðÀ´Ò²²»¹ý2000¸ö£¬¶øÕâ¸ö³µÐÍÑ¡Ôñ°üÀ¨Æ·ÅÆ¡¢Æ·ÅÆÀà¡¢³µÏµ¡¢³µÐ͵Ȳ¶à1Íò¶àÌõÊý¾Ý£¬ÏÖÔÚÔÚ8ÃëÄÚ¼ÓÔØÒÑÊDz»ÐÒÖеÄÍòÐÒÁË¡£
ajaxÈÃÎÒ×î´óµÄÓôÃÆÊÇ£¬¼ÓÔسöÀ´µÄ¶¼²»ÊÇʵ¼Ê´æÔڵĴúÂ룬ËÑË÷ÒýÇæ¼ìË÷²»µ½ajax¼ÓÔسöÀ´µÄÐÅÏ¢£¬ÕâÒ²ÊÇÎÒ¾õµÃÒªÉ÷ÖØʹÓÃajaxµÄÔ­Òò¡£


Ïà¹ØÎĵµ£º

AjaxµÄÔ­ÀíºÍÓ¦ÓÃ

¹ØÓÚajaxµÄÃû×Ö
    ajax µÄÈ«³ÆÊÇAsynchronous JavaScript and XML£¬ÆäÖУ¬Asynchronous ÊÇÒì²½µÄÒâ˼£¬ËüÓбðÓÚ´«Í³web¿ª·¢ÖвÉÓõÄͬ²½µÄ·½Ê½¡£
¹ØÓÚͬ²½ºÍÒì²½
 
Òì²½´«ÊäÊÇÃæÏò×Ö·ûµÄ´«Ê䣬ËüµÄµ¥Î»ÊÇ×Ö·û£»¶øͬ²½´«ÊäÊÇÃæÏò±ÈÌصĴ«Ê䣬ËüµÄµ¥Î»ÊÇè壬Ëü´«ÊäµÄʱºòÒªÇó½ÓÊÜ·½ºÍ·¢ËÍ·½µÄʱÖÓÊ ......

DWR AJAX¸ü·½±ã

¸½springÕûºÏDWR(°üº¬struts1,spring,hibernateÕûºÏÖÃ):
http://blog.csdn.net/jiabeis/archive/2010/05/26/5626121.aspx
×î½üÁ˽âÁËÒ»¸öÓÐÓõÄAJAX¹¤¾ß£¬¿´ÁËÍøÉϵÄÎÄÕÂÕâÀïÓÐһЩժ³­ºÍ×Ô¼ºµÄ×ܽᣬºÍ´ó¼Ò·ÖÏí£º
ʲôÊÇDWR(Direct Web Remote)£¿
DWRÊÇÒ»ÖÖAJAX½â¾ö·½°¸£¡
DWR°üÀ¨Ò»¸öjava¿â£¬ÒÔ¼°Ò»Ì×javascript£¬Ê¹ ......

Ajax»ù´¡

1£ºAjax¿ÉÒÔͨ¹ýJavaScriptµÄXMLHttpRequest¶ÔÏóÓë·þÎñÆ÷½øÐÐͨÐÅ£¬Í¨¹ýXMLHttpRequest£¬JavaScript¿ÉÒÔÔÚ²»ÖØÔØÒ³ÃæµÄÇé¿öÏÂÓë·þÎñÆ÷½øÐÐͨÐÅ¡£
 
2£ºXMLHttpRequest ä¯ÀÀÆ÷Ö§³Ö
 
<script type="text/javascript">
function ajaxFunction()
{
var xmlHttp;
try
    {
xmlHtt ......

¹ØÓÚAJAXÒì²½£¨À´×ÔÍøÂ磩

Web 2.0 һƳ
ÔÚÉîÈëÑо¿´úÂë֮ǰÊ×ÏÈ¿´¿´×î½üµÄ¹Ûµã —— Ò»¶¨ÒªÊ®·ÖÇå³þ Web 2.0 Õâ¸ö¸ÅÄî¡£Ìýµ½ Web 2.0 Õâ¸ö´ÊµÄʱºò£¬Ó¦¸ÃÊ×ÏÈÎÊÒ»ÎÊ “Web 1.0 ÊÇʲô£¿” ËäÈ»ºÜÉÙÌýÈËÌáµ½ Web 1.0£¬Êµ¼ÊÉÏËüÖ¸µÄ¾ÍÊǾßÓÐÍêÈ«²»Í¬µÄÇëÇóºÍÏìӦģÐ͵Ĵ«Í³ Web¡£±ÈÈ磬µ½ Amazon.com ÍøÕ¾Éϵã»÷Ò»¸ö°´Å¥»òÕßÊäÈë ......

ajaxÌá½»±íµ¥

ajaxÌá½»±íµ¥
¹Ø¼ü×Ö: ajax
function ajaxSubmitForm(form, resultDivId) {          
var elements = form.elements;// Enumeration the form elements          
var element;      ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ