title: Uncaught TypeError: undefined is not a function. JQuery validation in ASP.NET Web Form
body: <p>I'm trying to validate an ASP.NET web form using jQuery validation</p>
  
  <p>In Site.Master I include these scripts</p>
  
  <pre><code>&lt;script src="/Scripts/jquery-1.4.4.js"&gt;&lt;/script&gt;
  &lt;script src="/Scripts/jquery-1.4.4.min.js"&gt;&lt;/script&gt;
  &lt;script src="/Scripts/jquery.validate.js"&gt;&lt;/script&gt;
  &lt;script src="/Scripts/jquery.validate.min.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>In Modify.aspx, I include a custom script</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $(document).ready(function () {
          $('#&lt;%= Form.ClientID%&gt;').validate({
              highlight: function (element) {
                  $(element).addClass('has-error');
              },
              unhighlight: function (element, errorClass, validClass) {
                  $(element).removeClass('has-error');
              }
          });
      }(jQuery));
  &lt;/script&gt;
  </code></pre>
  
  <p>As you can see, I'm trying to add or remove css class for input that are validated. </p>
  
  <p>Then I got an error </p>
  
  <pre><code>Uncaught TypeError: undefined is not a function 
  </code></pre>
  
  <p>Can anyone help me to resolve the problem? Perhaps the script isn't correct too, please help me to modify it. Thanks a lot!</p>