$(document).ready(function () { $("#Button1").click(function () { alert("hi"); });
<asp:button id="Button1" runat="server" text="Button" ClientIDMode="Static" />
<asp:Button id="Button1" Text="Click me!" runat="server" OnClick="submit" />
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)