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

jQuery ajaxÌá½»±íµ¥Êý¾ÝÎÊÌâ¼±£¡ - Web ¿ª·¢ / Ajax

ÓÃAjaxÌá½»±íµ¥Êý¾Ý½øÐÐÑéÖ¤ µÚÒ»´Îºǫ́¿ÉÒÔ»ñÈ¡µ½ ÑéÖ¤ÍêÁËÐ޸ĺóÔÚÌá½»£¬ºǫ́¾ÍµÃ²»µ½Êý¾ÝÁË ÎªÊ²Ã´
JScript code:

var succ='false';
jQuery("#adDtailForm").ajaxSubmit({
url: "<%=request.getContextPath()%>/budgetDirectReserve.do? method=provAjaxDirectRev&rowCountnum="+count+"&year=<%=year%>&time="+timesss,
type:'POST',
success:function(msg)
{
if(msg!=null||msg!="")
{ //Ñé֤ûͨ¹ý²»¿ÉÒÔÌá½»Êý¾ÝµÄ ·µ»ØµÄλÖÃ
alert("ÌáʾÐÅÏ¢£º"+msg);
return false;
}else{
succ='true';
}
}


});

ÊÔÊÔ
JScript code:
url: "<%=request.getContextPath()%>/budgetDirectReserve.do?method=provAjaxDirectRev&rowCountnum="+count+"&year=<%=year%>&time="+timesss + "&tmp=" + (new Date()),



CSS code



Code highlighting produced by Actipro CodeHighli


Ïà¹ØÎÊ´ð£º

struts2ʹÓÃajaxµÄÎÊÌâ~~~ - Web ¿ª·¢ / Ajax

ÎÒÏÖÔÚÓÃstruts2¿ò¼ÜÖÐÐèҪʹÓÃajaxʵÏÖ¾Ö²¿Ë¢Ð£¬µ«ÊÇ´ÓÈÝÆ÷Àï·µ»ØµÄÖµ²»ÖªµÀÔõô´Óstruts.xmlÅäÖÃÎļþÀïÓ³Éäµ½jspÒ³ÃæÀÒÔÇ°servletÀïдout.orint("xxxxx")¾Í¿ÉÒԵõ½~£¬µ«ÊÇÏÖÔÚÓÃstruts¾Í²»ÖªµÀÔõô ......

Struts1.2 ½áºÏajax ¿ò¼Ü ÕûºÏÉý¼¶ - Java / Java EE

ÎÒÏÖÔÚÓиöÃÅ»§ÍøÕ¾£¬ÓÃStruts1.2×öµÄ£¬Ö®Ç°Ã»ÓÃajax,ÏÖÔÚÏë½áºÏajax ¿ò¼Ü ÕûºÏÉý¼¶¡£
Struts1.2 ºÍÄǸöajax ¿ò¼ÜÕûºÏµÄ±È½ÏºÃ¡£ÕûºÏÖ®ºóÌý˵ajax Õ¼ÄÚ´æʲô¶¼²»Ð¡£¬°üÒ²²»Ð¡£¬´ó¼ÒÌÖÂÛһϰ¡¡£
ajax ÊÇ¿Í»§¶ËµÄ¶ ......

ajax post·½Ê½Ìá½»Êý¾ÝÈçºÎ²Ù×÷£¿ - Web ¿ª·¢ / Ajax

RT£¡
xmlHttpRequest.send("Ìá½»²ÎÊýÃû=Öµ&Ìá½»²ÎÊýÃû1=Öµ");

var date={"Êý¾Ý1":"Êý¾Ý1Öµ","Êý¾Ý2":"Êý¾Ý2Öµ","Êý¾Ý3":"Êý¾Ý3Öµ" ......

ajaxºóOnSubmitÎÞЧ£¿ - Web ¿ª·¢ / Ajax

a.asp
------------------------------------------------<SCRIPT language=javascript src="check.js"></SCRIPT>
<input type="button" value="²âÊÔ" onclick=&quo ......

.net 3.5 ajax¿ò¼ÜÎÞ·¨¼ÓÔØ - Web ¿ª·¢ / Ajax

ʹÓÃ.net 3.5 ×Ô´øµÄajax¿Ø¼þ£¬ÔÚIE7¡¢IE8ÏÂÌáʾ ajax¿ò¼ÜÎÞ·¨¼ÓÔØ
Ò³Ãæ½á¹¹ÈçÏ£º
HTML code:

<form id="form1" runat="server">
<asp:ScriptManager ID="SM&quo ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ