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

ÈçºÎÏÈÖ´ÐÐAjaxÏìӦʼþ£¿ - .NET¼¼Êõ / ASP.NET

JScript code:

validate:function (){
var myAjax = new Ajax.Request(
this.AjaxUrl,
{
onSuccess:function(result){
if(result.responseText =="true")
return true;
}
}
);
return false;
}


½á¹ûÎÞÂÛÈçºÎ¶¼Ö»·µ»ØFalse£¬²»·µ»Øtrue£¬·¢ÏÖÖ´ÐÐ˳ÐòÊÇÏȺóÃæµÄÔÙµ÷ÓÃonSuccessº¯Êý£¬ÕâÑù¾ÍËãÔÚÍâÃæ¼Ó±ê¼ÇÖµ£¬ÔÚonSuccess¸³ÖµÒ²²»ÐУ¬¹òÇó¸ßÈËÄܽâ´ð£¬»òÌá³öÆäËûµÄ±È½ÏºÃµÄ½â¾ö·½°¸£¬Ð»Ð»¿©

×Ô¼º½â¾öÁË£¬ÊÇÀûÓÃasynchronous:falseͬ²½·½Ê½ÔÙ¼ÓÉϱê¼ÇÖµ¾ÍOKÁË£¬Ð»Ð»´ó¼Ò¹Ø×¢£¬¶àÀ´¼¸¸ö½Ó·ÖµÄ£¬ÂíÉϾͽáÌùÁË




ÒýÓÃ
ÄãÖ»ÊÇ°ÑÒì²½±ä³Éͬ²½ÁË

ÓÐʲôºÃµÄ½â¾ö·½°¸Âð£¿Çë½ÌÁË


ÒýÓÃ
http://topic.csdn.net/u/20100413/09/0D5ECC09-062C-4582-8B6C-BFA9FF309744.html

ллÕâ¸ö¡£


Ïà¹ØÎÊ´ð£º

AjaxÎÞ·¨µ÷ÓÃÎÊÌâ - Web ¿ª·¢ / Ajax

´úÂëÖУ¬Èç¹û½«//alert(1)¡¡×¢ÊÍ´ò¿ª£¬ÄÇô¾Í¿ÉÒÔµ÷Óã¬Èç¹û×¢Ê͵ô¾ÍÎÞ·¨µ÷ÓÃ
»³ÒÉÊǵ¼JSÎļþ³öÎÊÌâÁË£¬ÒòΪд¹ýjspÒýÁ½¸öJSÎļþûÎÊÌ⣬
¶øJSPÒýÒ»¸öJSÎļþ£¬Õâ¸öJSÒý±ðÍâµÄJSÎļþ³öÏÖÏÂÃæÎÊÌ⣬ÉÏÍøÕÒÁË°ëÌìû½á ......

ÇóÖúasp.netͼƬÉÏ´« - .NET¼¼Êõ / ASP.NET

¾ÍÊÇÒ»¸ö°´Å¥£¬µã»÷Ö®ºó´ò¿ª¶Ô»°¿ò£¬È»ºóѡȡͼƬ¡£¾ÍÕâÑùÉÏ´«¡£¡£
ÔõôʵÏÖ¡£ÔÚÍøÉÏËѵ½ÄÇô¶àµÄ´úÂ룬ȫÊǺܶàµÄÄÇÖÖ£¬²»ÖªµÀ£¬¿´²»ÏÂÈ¥¡£
ËùÒÔÔÚÕâÀïÏëÇë´ó¸ç´ó½ã°ï°ïæ¡£

ʹÓÃ×Ô´øµÄfileupload¿Ø¼þ¿ÉÒÔʵÏÖ ......

AJAX ºǫ́Ôõôȡ²»µ½Ö± - .NET¼¼Êõ / ASP.NET

´úÂëÈçÏ Çë¸ßÊÖ Ö¸µãÏ лл
ajax_http.js
-------------
function getXMLHTTP() {
  var xmlhttp;
  if (window.ActiveXObject) {
  //IE
  try {
  ......

asp.netÈçºÎÌá¸ß·ÃÎÊËÙ¶È - .NET¼¼Êõ / ASP.NET

ÎÒ×î½ü×öÁËÒ»¸öÍøÕ¾ÊǹØÓÚ²úƷչʾµÄ ~ Õû¸öÍøվͼƬ¶¼Õ¼ÓÃÁËÒ»´ó°ë  
ÕâÑùµÄ»°·ÃÎÊËٶȾͷdz£Âý ÓÐʲô°ì·¨¿ÉÒÔ½â¾öÂð£¿
Âé·³´ó¼Ò¶à¶à¸øµãÒâ¼û £¡ ÓÐʲô¾¡¹Ü˵ 
3Q´ó¼Ò
htmlÒ³Ãæ.

Õâ¸ö,¼ÈÈ»Ö÷Ò ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ