title: client validation on jquery 2.1.1
body: <p>I am using MVC5 and am trying to get client validation to trigger rather than doing server trip.The validation works server side but I can't get the client side to trigger using jquery 2.1.1 </p>
  
  <p>I am using bundles to register the scripts. In the client source the scripts seem  to be referenced correctly.</p>
  
  <pre><code>&lt;script src="/Scripts/jquery-2.1.1.js"&gt;&lt;/script&gt;
  &lt;script src="/Scripts/jquery.validate.js"&gt;&lt;/script&gt;
  &lt;script src="/Scripts/jquery.validate.unobtrusive.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>In the web.config I have enabled clientside and unobtrusive</p>
  
  <pre><code>&lt;add key="ClientValidationEnabled" value="true" /&gt;
  &lt;add key="UnobtrusiveJavaScriptEnabled" value="true" /&gt;
  </code></pre>
  
  <p>One of the inputs that needs validating seems to be picking up the data annotations from the model so I don't think that's the issue</p>
  
  <pre><code>&lt;input class="input-validation-error form-control" data-val="true"
   data-val-number="The field UpdateValue must be a number."
   data-val-range="Please enter a number between 1 and 28"
   data-val-range-max="28" data-val-range-min="1"
   data-val-required="An update value is required" id="tbUpdateValue"
   name="UpdateValue" type="text" value="0" aria-required="true" aria-invalid="true"&gt;`
  </code></pre>
  
  <p>The only way I can get the client side to trigger is it to add a reference to an older version of jQuery. I added this at the top of my view</p>
  
  <pre><code>&lt;script src="http://ajax.microsoft.com/ajax/jQuery/jquery-1.4.2.min.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Any idea on how I can get this to work with 2.1.1 or am doing something stupid?</p>