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

jQuery AjaxÌá½»Ò³ÃæÊý¾Ý

jQuery µ×²ã AJAX ʵÏÖ¡£¼òµ¥Ò×Óõĸ߲ãʵÏÖ¼û $.get, $.post µÈ¡£$.ajax() ·µ»ØÆä´´½¨µÄ XMLHttpRequest ¶ÔÏó¡£´ó¶àÊýÇé¿öÏÂÄãÎÞÐèÖ±½Ó²Ù×÷¸Ã¶ÔÏ󣬵«ÌØÊâÇé¿öÏ¿ÉÓÃÓÚÊÖ¶¯ÖÕÖ¹ÇëÇó¡£
×¢Ò⣺ Èç¹ûÄãÖ¸¶¨ÁË dataType Ñ¡ÏÇëÈ·±£·þÎñÆ÷·µ»ØÕýÈ·µÄ MIME ÐÅÏ¢£¬(Èç xml ·µ»Ø "text/xml")¡£´íÎóµÄ MIME ÀàÐÍ¿ÉÄܵ¼Ö²»¿ÉÔ¤ÖªµÄ´íÎó¡£
Ìá½»Ò³ÃæÊý¾Ý£º
//½«Ò³ÃæµÄenterNameµÄÖµÌá½»¸øvideoAddAfter£¬³É¹¦ºó·µ»ØvideoManage
var enterName = document.getElementById("enterName");
$.ajax({
   type:'POST',
   url:'videoAddAfter.do',
   data:{enterName:enterName.value},
   success:function(msg){
    if(msg=="success"){
     alert("Ìí¼Ó³É¹¦");
     window.location.href='videoManage.do';
    }else{
     alert(msg);
    }
   }
  });
ÆäÖÐmsg==“success”ÖГµÄsuccess”ÊÇ´ÓvideoAddAfterµÄout.print("success");


Ïà¹ØÎĵµ£º

Ajax ºÍ REST£¬µÚ 1 ²¿·Ö

2006 Äê 11 ÔÂ 09 ÈÕ
·þÎñÆ÷¶Ë Web Ó¦ÓóÌÐòÒò²ÉÓø»Ó¦ÓóÌÐòÄ£Ðͺͽ»¸¶¸öÐÔ»¯ÄÚÈݶø¾ß±¸ÁËÈÚÈëʽ£¨immersive£© µÄÌص㣬ÕâÖÖÌصãԽͻ³ö£¬Ó¦ÓóÌÐò¼Ü¹¹¶Ô Web ¼Ü¹¹·ç¸ñ REST£¨Representational State Transfer£©µÄÎ¥±³¾ÍÔ½¶à¡£ÕâÖÖÎ¥±³»á½µµÍÓ¦ÓóÌÐòµÄ¿ÉÉìËõÐÔ£¬Ôö¼Óϵͳ¸´ÔÓÐÔ¡£Í¨¹ýÓë REST Ï໥Эµ÷£¬Ajax ¼Ü¹¹½«Ê¹ÈÚÈë ......

AjaxÓ¦ÓõÄÎå¸ö²½Öè

//AjaxÓ¦ÓõÄÎå¸ö²½Öè
//1.´´½¨XMLHttpRequest¶ÔÏó
var xmlHttp=createXMLHttpRequest();
function createXMLHttpRequest()

 var xmlHttp;
 if(Window.XMLHttpRequest)
 { 
  //IE6ÒÔÉÏ°æ±¾ºÍÆäËûä¯ÀÀÆ÷ÄÚÖÃXMLHttpRequest¶ÔÏó
  xmlHttp=new XMLHttpRequest(); ......

ASP.NET AJAXµ÷ÓÃWebService

ÈçºÎÔÚ¿Í»§¶ËÖ±½Óµ÷ÓÃWebServiceÖеķ½·¨£¿
ÕâÀï½áºÏ¾­Ñé×Ô¼ºÐ´Ò»Ð´
1.Ê×ÏÈн¨Ò»¸ö ASP.NET AJAX-Enabled Web Site,ÕâÑùϵͳΪÎÒÃÇ×Ô¶¯ÅäÖúÃÁË»·¾³£¬ÕâÖ÷ÒªÌåÏÖÔÚWeb.configÕâ¸öÎļþÉÏ£¬Èç¹ûÒÑÓÐÍøÕ¾²»ÊÇASP.NET AJAX-Enabled Web SiteÒ²¿ÉÒÔ¶ÔÕÕÐÞ¸ÄÏÂWeb.config£¬Ò²¿ÉÒÔ´ïµ½ÏàͬµÄЧ¹û¡£
2.н¨Ò»¸öweb·þÎñ£¬WebSer ......

asp.net ajaxѧϰ±Ê¼Ç

asp.net ajaxѧϰ±Ê¼Ç
 
Ò»¡¢          µÇÌÃÈëÊÒ——»ù±¾¸ÅÄî
http://blog.csdn.net/soldierluo/archive/2009/11/18/4830758.aspx
 
¶þ¡¢          СÊÔÉíÊÖ——µÚÒ»¸öAjax³ÌÐò
http://bl ......

AJAXÈçºÎÓÃÓÚWeb²¿¼þ

Ô­ÎĵØÖ·£ºhttp://sharethispoint.com/archive/2006/11/15/Build-web-parts-with-ajax.aspx
ÈçºÎÔÚ¿ª·¢Web²¿¼þʱʹÓÃajaxÄØ£¿ÎÒÃǽ«ÒÔÒ»¸öÑù×ÓÀàËÆMOSS 2007ÖÐKPIºÍBDC Web²¿¼þµÄWebPartΪÀýÀ´ËµÃ÷¡£Èç¹ûÄã¶ÔajaxÒ»µã¶¼²»Á˽â,ÍƼöѧϰTerryLeeµÄajaxÈëÃÅϵÁС£
ASP.net2.0ÓÐÒ»¸öºÜ¿áµÄÐÂÌØÐÔ½Ð×÷¿Í»§¶Ë½Å±¾»Øµ÷¡£½Å±¾»Øµ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ