Im using the following code:
jQuery(document).ready(function () {
jQuery('<%= btnSave.ClientID %>').click(function(){
alert('hello world');
});
});
And when I click the asp.net button:
<asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" />
It just doesnt fire. Anybody know why?
Cheers, Pete