Hi,
I have a couple of buttons:
<asp:button runat="server" cssclass="button" text="Search" class="button" ID="btnSearch" OnClick="btnSearch_Click" /><asp:button runat="server" cssclass="button" text="Continue" class="button" ID="btnContinue" OnClick="btnContinue_Click" />
And the following jQuery:
$(document).ready(function () {$('[id*=btnSearch]').bind("click", function () {
alert("search clicked");
});
});When Search button is clicked the first time, I see the alert. The form is submitted (search) and a listbox populated. But after that, any further clicks are working.
Anyone know why?