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

jqueryµÄAJAXÓöµ½ÎÊÌâ - Web ¿ª·¢ / Ajax

ÎÒÏÖÔÚÓöµ½Õâô¸öÎÊÌ⣬¾ÍÊÇÎÒÏÈÑ¡ÔñÒ»¸öÏÂÀ­ÁÐ±í£¬È»ºó´¥·¢ÁËAJAXÀ´»ñÈ¡Êý¾Ý¿âµÄÊý¾Ý£¬ÎÒ½«·µ»ØµÄÊý¾Ý·Åµ½ÏÂÀ­ÁбíÀȻºóÓÃinnerHTML²åÈëµ½Ò»¸ö<span>ÖУ¬¿ÉÊÇÎÒÔÚÑ¡ÔñÕâ¸öÐÂÉú³ÉµÄÏÂÀ­Áбíʱ£¬ÎÒ»¹ÏëÔÙ´¥·¢Ò»¸öajax£¬Ëû¾Í²»´¥·¢ÁË
ÔÚÐÂÉú³ÉµÄÏÂÀ­ÁбíÖÐÌí¼ÓÒ»¸öonchangeʼþÀ´´¥·¢ÄãµÄajax

Óеģ¬¿É¾ÍÊDz»´¥·¢£º
JScript code:
$("#cid").change( function () {
var $cid = $("#cid option:selected").val();
$.get("main.php", { action: "listGrp", type: "Group", cid: $cid },
function(data){
alert(data);
//$('#flag').html(data);
});
});



¿´À´ÕæÈçÎÒËùÔ¤ÁϵĹýÕæÈç´Ë£¬innerHTMLºóµÄ¶¯Ì¬ÏÂÀ­<select>ÄÚÈÝ£¬jqueryû·¨»ñÈ¡µ½jquery¶ÔÏóÁË£¬µ«ÊÇʹÓÃ$('#option').after(data);ÕâÖÖ·½·¨Ð´Èë<select>ÄÚÈÝÊÇ¿ÉÒÔ»ñÈ¡µÄ£¬É¢·Ö


Ïà¹ØÎÊ´ð£º

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

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

ajaxµÄÎÊÌâ - .NET¼¼Êõ / ASP.NET

ÎÒÅóÓѵÄÒ»¸öASP.NETÒýÓÃÁËajax¼¼Êõ£¬binĿ¼ÏÂÃæÒ²ÓÐajaxpro.dll£¬ÎªÊ²Ã´·þÎñÆ÷²»ÐèÒª°²×°ajax²å¼þÒ²¿ÉÒÔÔËÐÐÄØ£¬ÕÕÀí˵Ӧ¸ÃÒª°²×°ASPAJAXExtSetup.msi
ÓÐ ajaxpro.dll¾Í¿ÉÒÔÁË

²»Í¬µÄaajx×é¼þ
AjaxPro¾ÍÊÇ¿ò¼ ......

Ajax ¼ì²âÓû§ÃûÓеãСÎÊÌâ - Java / Java EE

Êý¾Ý¿âÒѾ­·ÅÁ˶àÌõ¼Ç¼£¬¼ì²âµÄ¶¼ÊÇÓ¢Îĵģ¬¿ÉÊÇÓÐЩÓû§Ãû¿ÉÒÔÕý³£¼ì²â³öÒѱ»×¢²áÁË£¬ÓÐЩÓû§ÃûÊý¾Ý¿âÖÐȷʵ´æÔڵĵ«¾ÍÊǼì²â²»³öÒÑ´æÔÚ£¨ÔÚ×¢²áÒ³Ã滹ÊÇÏÔʾδ±»×¢²á£©£¬±ÈÈçÊý¾Ý¿âÖÐÓÐ Ò»¸öÓû§ÃûΪ£ºlb Î񱒵 ......

ajax´«µÄ²ÎÊýΪʲôΪ¿Õ£¿£¿£¿£¿ - Java / J2ME

ÎÊÌâÈçÌâ¡£
AjaxµÄ´úÂë:
JScript code:

function getProfession2(){
var department=document.getElementById("department").value;
alert(department+"-----&qu ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ