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

AjaxÎÞˢпؼþ

<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
   
    </div>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
              Óû§Ãû: <asp:TextBox ID="TextBox1" runat="server" AutoPostBack="True" OnTextChanged="TextBox1_TextChanged"> </asp:TextBox> <!--OnTextChangedÅжÏÓû§ÊÇ·ñ´æÔÚ-->                <asp:Label ID="Label1" runat="server"> </asp:Label>
              <br />
              ÃÜ  Âë: <asp:TextBox ID="TextBox2" runat="server"> </asp:TextBox> <br />
                <asp:Button ID="Button1" runat="server" Text="AddÓû§" OnClick="Button1_Click" />
               
      &nbs


Ïà¹ØÎÊ´ð£º

AjaxÓëSessionµÄÎÊÌâ - .NET¼¼Êõ / ASP.NET

֮ǰÓöµ½Ò»¸öÎÊÌâ¡£
ÓÚÊÇ×öÁËÒÔÏÂʵÑ飺
Ò³Ãæ¼ÓÔغó£¬Ìá½»Ò»¸öAjaxÇëÇó(ÔݳÆΪajax1)£¬ÇëÇóµÄÏß³ÌÔÚ·þÎñÆ÷Éϱ»Ë¯Ãß10ÃëÖÓ¡£
µã»÷Ò³ÃæÉÏÒ»¸öbutton£¬´¥·¢ÁíÒ»¸öAjaxÇëÇó(ajax2)¡£
µ±Ã»ÓÐʹÓÃsession£¬ÔÚ·þÎñÆ÷δ´ ......

¸ß·ÖÇó£¬AjaxÑéÖ¤

ÎÒÏëÍê³É£ºÔÚÓû§ÊäÈëÃû³Æºó£¬Êó±êÀ뿪±à¼­¿òµÄʱºò¾ÍÑéÖ¤¸ÃÃû³ÆÔÚ¿âÀïÊÇ·ñ´æÔÚ£¬Èç¹ûÒÑ´æÔÚ¸ø³öÌáʾÐÅÏ¢£¬ÈÃÖØÐÂÊäÈë¡£²»´æÔÚ£¬²»¸ø³öÈκÎÐÅÏ¢¡£¾ÍÀàËÆÓÚ×¢²á°Ù¶ÈÕ˺ÅʱһÑù¡£
ǰ̨´úÂëÔõôд£¿Ajax
http://www ......

AJAXÑéÖ¤Êý¾Ý²»Í¨¹ý,ÈçºÎÈÃÌá½»µÄ´úÂëÍ£Ö¹?

¸÷λ:

ÎÒÏëʵÏÖ:Óû§ÔÚµã»÷Ò³ÃæµÄÌá½»°´Å¥(server¶Ë°´Å¥),ÏÈͨ¹ýÒ³ÃæAJAX¼ì²éÒ³ÃæÊý¾Ý,ÔÙ¸ù¾ÝÑéÖ¤µÄ½á¹û¾ö¶¨ÊÇ·ñÌá½»Êý¾Ý(Ìá½»Êý¾ÝµÄ´úÂëÊÇͨ¹ýSERVER¶Ë´úÂëÌá½»µÄ.

ÎÒÓÃÒÔÏ·½·¨,·¢ÏÖϵͳʵÏÖ²»ÁË: ......

Çë½Ì¸ßÈËjquery+json+ajaxÎÊÌ⣿£¿

JS Îļþ
var test={

show:function(){

var userifo=new Array();
userifo.push(1);
userifo.push(2);
userifo.push(3);
//alert("aaa");

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