Important thing you should know while using Jquery is
PostBack property
When
postback occurse JQuery code will get its original values..
So you should
prevent postback to see the functionality of it..
<asp:button id="Button1" runat="server" text="Button" xmlns:asp="#unknown" />
JQuery code below..
$(document).ready(function () {
$(".flip1").click(function ()
{
$("#panel").slideToggle("slow");
});
$("#Button1").click(function (e)
{
e.preventDefault();
});
});
Where e.preventDefault() will avoid paostback.. So when you are using buttons use
e.preventDefault() to prevent
postback ( If postback is no necessory )..