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

Çó½Ì£ºajax´¦Àí»ØÀ´ºóÒ³ÃæÑùʽ±í¶ªÊ§Ê±Ê²Ã´Ô­Òò

Ò³ÃæÍ·²¿ÒýµÃÑùʽ±í
<link style="../css/01_box_fixed.css">
<script src='../dwr/interface/user_login.js'> </script>
<script src='../dwr/engine.js'> </script>
<script src='../dwr/util.js'> </script>
<script type="text/javascript" src="../js/check_form.js"> </script>
<script type="text/javascript" src="../js/area.js"> </script>
<script type="text/javascript" src="../js/ajax_user.js"> </script>
Ìύ֮ǰһÇÐÕý³££¬Ìá½»ºóÊý¾ÝµÃµ½¡£µ«Ò³ÃæÑùʽ¶ªÊ§ÁË¡£¡£
<form action="user_action.do" id="form_update_safeQuestion"
method="post"
onsubmit="updateSafeQuestion(${userinfo.uid},this);return false">
<input type="hidden" name="method" value="method">
<ul>
<li>
<span>Ñ¡ÔñÎÊÌâ: </span>
<select name="question" id="question">
<option value="Äú×îϲ»¶µÄµçÓ°ÊÇÄÄÒ»²¿£¿">
Äú×îϲ»¶µÄµçÓ°ÊÇÄÄÒ»²¿£¿
</option>
<option value="¶ÔÄú×îÓÐÒâÒåµÄÈÕ×ÓÊÇÄÇÒ»Ì죿">
¶ÔÄú×îÓÐÒâÒåµÄÈÕ×ÓÊÇÄÇÒ»Ì죿
</option>


Ïà¹ØÎÊ´ð£º

AJAXÇëÇó

¿Í»§¶ËHTMLPage.htmÒ³Ãæ
HTML code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html x ......

ajaxÒì²½¶ÁÊý¾ÝµÄÎÊÌâ

request.responseText¿ÉÒԵõ½·µ»ØµÄÒ³ÃæÊý¾Ý
µ«ÊÇÔÚ·þÎñÆ÷¶ËÉèÖõÄattribute£¬Ôڻص÷º¯ÊýÖУ¬Í¨¹ýrequest.getAttributeûÓа취µÃµ½

ÁíÍâ·¢ÏÖresponseText²»ÊDZê×¼µÄrequestµÄ·½·¨£¬Õâ¸öapiÔÚÄÄ¿ÉÒÔ²éµ½Ä ......

ajax ±¾µØ¿ÉÓà ·þÎñÆ÷²»¿ÉÓà ¼±

ÇëÎÊÎÒµÄÒ»¸öajaxÐÞ¸ÄÊý¾Ý¿âµÄ³ÌÐò  ÔÚ±¾µØ²âÊÔ¿ÉÒÔ  Ϊʲô´«µ½·þÎñÆ÷ÉϾͲ»ÄÜÓÃÁË  ÓÐʲô¿ÉÄܵÄÔ­Òò
·µ»ØÌáʾÕâ¸ö

Could not connect: Access denied for user 'root'@'local ......

ÇóÒ»¶Î¼òµ¥µÄAJAX´úÂë¡£ÒªÊÖдXMLHttpRequest¶ÔÏóµÄ

¸Õ¿ªÊ¼Ñ§£¬ÇóÒ»¶Î¼òµ¥µÄAJAX´úÂë¡£ÒÔǰÓÃASP.NET AJAX AJAX Extensions À´×Å¡£Ò²¶®¾ÍϹÓá£ÏÖÔÚÇóÒ»¶Î´ú´úÂë¡£AJAXµ÷ÓÃc#´úÂë¡£Ò²²»ÎÒ˵µÄÄã²»Ã÷°×£¬ÎÒ¾ÍÊÇÏ£ÍûÓÃAJAX»ñÈ¡Êý¾Ý¿âÊý¾Ý.²»ÒªµÚÈý·½µÄDLL  ÀýÈçAjax ......

ʹÓÃÁËAjax£¬ÎªÊ²Ã´Ò³Ã滹»á±»È«²¿Ë¢ÐÂ

Ö÷Ò³ÃæDefaultÉè¼Æ´úÂëÈçÏ£º
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Regis ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ