Hello Friends,
I am new to jquery and trying some basic things.
i am trying to hide a button on button's click event.
now when i click on the button, the button hides for a movement and displays again.
can u please guide me for this.i guess this is a problem due to page post back because when i work with html button it works fine.
my code is
$(document).ready(function () {
$("#Btn1").click(function () {
$("#Button1").hide();
});
});
<asp:Button id ="Btn1" runat ="server" Text ="I am Asp.Net Button" />
<asp:Button id ="Button1" runat ="server" Text ="I am Button" />
Thanks in advance.
Shweta Parikh