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

jsp+ajaxÈçºÎ±àдÏÂÀ­¿ò - Web ¿ª·¢ / Ajax

ÎÒÏëÏÂÀ­¿òÏÔʾµÄÄÚÈÝÊÇ´ÓÊý¾Ý¿âÏà¹Ø±íµÄÏà¹Ø×ֶλñÈ¡µÄ£¨ÕâÒ»µãºÜºÃʵÏÖ£©£¬¿ÉÊǵ±Óû§Ñ¡ÔñÆäÖеÄijһÏîÖ®ºó£¬ÎÒÈçºÎÈ¡µÃËûÑ¡ÔñµÄÕâ¸öÖµ£¿¾ÍºÃ±È˵ÊǼÈëÈËÃû£¬ÏÖÔÚ¿âÀïÃæÏÔʾÓС°ÕÅÈý£¬ÀîËÄ£¬ÍõÎ塱£¬ÏÂÀ­¿òÒ²ÓÐÕâÈý¸öÑ¡Ôñ£¬È»ºóÎÒÑ¡ÔñÍõÎ壬Ôõô°ÑÍõÎå´æ½øÁíÒ»ÕűíÀïÃ棿
ÖÐÎç´ó¼Ò¶¼ÔÚ˯¾õ°¡

¡¾Ñ¡ÔñÍõÎ壬Ôõô°ÑÍõÎå´æ½øÁíÒ»ÕűíÀïÃæ¡¿£º

°ÑÕâ¸öSELECT¿Ø¼þµÄÖµÉèÖÃΪ[ÐÕÃû×Ö¶Î]µÄÖµ£»ÄãÑ¡ÁËËü£¬Õâ¸öSELECT¿Ø¼þµÄÖµ¾ÍÊÇ¡°ÍõÎ塱£º
<select name=aaa onchange="test(this.value)">
<option value=0>--ÇëÑ¡Ôñ--</option>
<option value="ÕÅÈý">ÕÅÈý</option>
<option value="ÍõÎå">ÍõÎå</option>
</select>
<script>
function test(s){
  if(s==''){return}
  //AJAX°ÑsËÍÍùºǫ́д¿â................
}
</script>



¾ÍÊÇÎÊÄãÔõôÓÃajax´æÈëºǫ́¿©£¬Ç°Ì¨µÄÔç¾Í×ö³öÀ´ÁË~~~~

ÒýÓÃ

¾ÍÊÇÎÊÄãÔõôÓÃajax´æÈëºǫ́¿©£¬Ç°Ì¨µÄÔç¾Í×ö³öÀ´ÁË~~~~

²»»á°É£¬ÂúÂÛ̳¶¼ÊÇAJAX´úÂ룬Ëæ±ã×¥Ò»¸ö¾Í¿ÉÒÔÁËѽ¡£ÀÁËÀÁË


ÒýÓÃ

HTML code
<script language="javascript" type="text/javascript">
function getXMLHTTPObj(){
var xmlHttp=null;
try{xmlHttp=new XMLHttpRequest();}
catch (MSIEx){
try{xmlHttp=new ActiveXObject("M¡­¡­

ºǫ́ÎÒÊÇÕâÑùдµÄ£º
  String name = request.g


Ïà¹ØÎÊ´ð£º

Çë½ÌajaxʵÏÖµ¯³ö´°ÌåµÄÓ÷¨ - Web ¿ª·¢ / Ajax

°´Å¥·ÅÔÚUpdatePanel1£¬Ïëͨ¹ýµã»÷µ÷ÓÃDictionaryTvAdd.aspxµ¯³öÒ»¸ö×Ó´°Ìå
ÓÃÏÂÃæµÄÓï¾äÌáʾÎÒȱÉÙ¶ÔÏó
protected void Button1_Click(object sender, EventArgs e)
  {
  ScriptManager.R ......

AjaxÎÞË¢ÐÂÏÂÔØ Çë¸÷λ´óϺÃÇ°ï°ïæ°¡~

<script language="javascript">
  var XMLHttpReq;
  var cont=true;
//´´½¨XMLHttpRequest¶ÔÏó     
    function createXMLHttpRequest ......

jqueryÖÐÏòajaxÎÊÌâ - Web ¿ª·¢ / JavaScript

ÎÒÔÚÒ»¸öhtmlÖÐдÈçÏ´úÂ룺
JScript code:
<html>
<head>
<script type="text/javascript" charset="utf-8"
src="script/jquery-1.3.2.min ......

tomcat»·¾³ÏÂjsp±àÒë´íÎó£¬Çó½â£¡ - Java / Web ¿ª·¢

org.apache.jasper.JasperException: Unable to compile class for JSP: 
An error occurred at line: 52 in the jsp file: /vip_info.jsp
ÕË cannot be resolved
49: <table border="1& ......

Çó½ÌJSPÏîÄ¿ÖÐÔËÓÃÄ£°åµÄ¼¼Êõ - Java / Web ¿ª·¢

ÇëÎʸ÷λ¸ç¸ç½ã½ã£¬ÈçºÎÔËÓÃÏֳɵÄÄ£°åÀ´ÖÆ×÷ƯÁÁµÄJSPÍøҳѽ,»ØÕßÓзÖ!
×Ô¼º¶¥Ï£¬×ÜÓиßÊÖ°É,ÆÚ´ýÖÐ......


Èç¹ûÖ±½ÓÒýÓýøÈ¥

¿ÉÒÔÖ±½ÓÓÃjspµÄÖ¸ÁҲ¿ÉÒÔÓÃfreemarkÒýÓ㬼ǵøø·Ö

лл¸÷λÁË£¬¿´À´Î ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ