Jquery Asp.net button disable
Posted
by oraclee
on Stack Overflow
See other posts from Stack Overflow
or by oraclee
Published on 2010-05-25T14:39:48Z
Indexed on
2010/05/25
15:01 UTC
Read the original article
Hit count: 315
Hi all;
html code:
<asp:Button runat="server" ID="btnTest" Text="Test" OnClick="btnTest_Click" />
Jquery Code:
$('[id$=btnTest]').click(function(){
$('[id$=btnTest]').attr('disabled', 'true');
});
CodeBehind:
protected void btnTest_Click(object sender, EventArgs e)
{
//here not come.
}
Code Behind btnTest event not work ?
© Stack Overflow or respective owner