<asp:Button
ID="btnUpdate"
runat="server"
OnClick="btnUpdate_Click"
Text="Update"
CssClass ="btn"
ToolTip="Update"
Width="58px" />
`This is my code for button, want to use javascript..help plz
Very easy to do to prevent the user pressing it twice – here is an example of using JavaScript to hide the button.