$.post("index.aspx?action=add",{name1:value1,name2:value2},function(data){ $("#divresult").html="Added successfully"; });
<asp:button ID="Button1" runat="server" text="Button" OnClientClick="return false;" />
<asp:ScriptManager ID="scriptmanager" runat="server" > <asp:UpdatePanel ID="UpdatePanel" runat="server" > <contenttemplate> <asp:Button ID="btnsubmit" runat="server" Text="Submit" /> </contenttemplate>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)