JQuery submit button doesn't fire
<p>I have the following code but it doesn't fire or doesn't show any error when I click on the save button. Could you please let me know what could be the problem? Thank you.</p>

<pre><code>&lt;script type="text/javascript"&gt;
$(document).ready(function () {
  $('input[id*=btnSave]').click(function () {
    var txtFirstName = $('input[id*=txtFirstName]').val();
    var txtLastName = $('input[id*=txtLastName]').val();
    var errMsg = '';
    var errMsg = "&lt;ul&gt;";
    if (txtFirstName == '') {
      errMsg = errMsg + "&lt;li&gt;First Name is required&lt;/li&gt;";
      return false;
    }
    if (txtLastName == '') {
      errMsg = errMsg + "&lt;li&gt;Last Name is required&lt;/li&gt;";
      return false;
    }
    errMsg = errMsg + "&lt;/ul&gt;";
  });
});
&lt;/script&gt;

&lt;telerik:RadTextBox ID="txtLastName" runat="server" /&gt;
&lt;telerik:RadTextBox ID="txtFirstName" runat="server"/&gt;
&lt;asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click"&gt;&lt;/asp:Button&gt;
</code></pre>
