ajax post·½Ê½Ìá½»Êý¾ÝÈçºÎ²Ù×÷£¿ - Web ¿ª·¢ / Ajax
RT£¡
xmlHttpRequest.send("Ìá½»²ÎÊýÃû=Öµ&Ìá½»²ÎÊýÃû1=Öµ");
var date={"Êý¾Ý1":"Êý¾Ý1Öµ","Êý¾Ý2":"Êý¾Ý2Öµ","Êý¾Ý3":"Êý¾Ý3Öµ"};
xmlHttpRequest.send(date);
{{
Ïà¹ØÎÊ´ð£º
ajaxÔõôʵÏÖÐÂÔöÏÂÀÁбíÎÞˢС£ÀàËÆ
http://hi.baidu.com/comasp/blog/item/aa34e736bfc269320a55a9ad.html¡£
»¹ÓÐÍøÒ×163Blog£¬Ìí¼Óblogʱ£¬Èç¹ûдµÄÎÄÕÂûÓкÏÊʵķÖÀà¿ÉÑ¡£¬¿ÉÒÔµã»÷Ìí¼ÓеÄÎÄÕÂÀàÐÍ£¬È»ºóÌ ......
ÎÒÏÖÔÚÓÃstruts2¿ò¼Ü,ÐèҪʹÓÃajaxʵÏÖ¾Ö²¿Ë¢Ð£¬µ«ÊÇ´ÓÈÝÆ÷Àï·µ»ØµÄÖµ²»ÖªµÀÔõô´Óstruts.xmlÅäÖÃÎļþÀïÓ³Éäµ½jspÒ³ÃæÀÒÔÇ°servletÀïдout.orint("xxxxx")¾Í¿ÉÒԵõ½~£¬µ«ÊÇÏÖÔÚÓÃstruts¾Í²»ÖªµÀÔõôР......
Ç°Ãæ¿´µ½¹ýÕâ¸öÎÊÌâ,ûÓлشð,ÓÖÎÊÒ»ÏÂ,
ÈçºÎÔÚAJAX AccordionÖаó¶¨XML½ÚµãºÍ×Ó½Úµã
<cc1:Accordion ID="Accordion1" runat="server" DataSourceID="xdsProductMenu"> ......
ÎÒ¿´¹ýºÜ¶à¹ØÓÚajaxµÄ½Ì³Ì£¬µ«ÊÇËûÃǼ¸ºõ¶¼ÊÇÎĵµ»ìºÏģʽϵģ¬ÔÚÕâ¸öģʽÏÂjavascriptºÜºÃŪ¡£µ«ÊÇÎҵŤ³ÌÊÇÎĵµ·ÖÀëµÄ£¬ÎÒÔÚÒýÓÃһЩajax¿Ø¼þʱ£¬¿ÉÒÔͨ¹ý¿Ø¼þµÄscriptºÍpathÀ´Ö¸¶¨Íⲿjs½Å±¾£¬Ò²¿ÉÒÔÖ±½ÓÔÚÎĵµ ......
ÎÒÔÚÒ»¸öhtmlÖÐдÈçÏ´úÂ룺
JScript code:
<html>
<head>
<script type="text/javascript" charset="utf-8"
src="script/jquery-1.3.2.min ......