ÈçºÎÏÈÖ´ÐÐ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 ллÕâ¸ö¡£
Ïà¹ØÎÊ´ð£º
C# code: SqlConnection conn = CsDB.sqlcon(); SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......
±¾ÈËÊDzËÄñÒ»¸ö£¬Æ½Ê±Òª×öÉúÒ⣬µ«ÊÇÕÒÁ˺ܶàÈË×öÍøÕ¾£¬¾ù±»ÆÁË¡£×öµÃ²»Èý²»ËÄ£¬ÏÖÔÚ¾öÐÄ×Ô¼ºÀ´×öÒ»¸ö£¬ÒÑѧϰASP.NETÏà¹ØµÄÍøÒ³ÖÆ×÷֪ʶ£¬ÓÐDW»ù´¡£¬¿ÉÒÔ˵ÊÇĿǰֻÓÐÀíÂÛ֪ʶ£¬µ«ÊÇÔÚʵ¼Ê¾ßÌå²Ù×÷µÄʱºò£¬×ÜÊÇÓöµ ......
O O O O O O |.......| |........| |.......| | | | O O ......
Çë½Ì¸ßÈË£¬AjaxÔÀíÏêϸ½²½â ¼°´úÂë˵Ã÷ ÎÒ²Á£¬ÉÏgoogle°¡¡£ http://www.w3school.com.cn/ajax/index.asp Â¥Ö÷ʲôÒâÍ¼ÄØ£¿ ³ö ´¦:http://www.javaeye.com/topic/636187 û×ö¹ýwebǰ¶Ë£¬ËùÒÔÍêȫûÓÐÓà ......