<asp:button id="Button1" runat="server" text="Button" onclientclick="javascript:alert('hello');" /> or <asp:button id="Button1" runat="server" text="Button" onclientclick="javascript:YourFunction();"/>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)