//Javascript <script type="text/javascript"> function disable(control) { control.disabled="disabled"; //added alert to give the snapshot of what happens //when the button is clicked alert(100); } </script>
<asp:button id="btn" runat="server" onclientclick="disable(this)" xmlns:asp="#unknown"> Text="Click me!" OnClick="btn_Click" /></asp:button>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)