title: jquery check validity of single element
body: <p>I have a number input field and I'm trying to use jquery to check if the value in there is valid. I can do it in standard javascript/html5 using</p>
  
  <pre><code>// html
  &lt;input type="number" id="numField" min="50"/&gt;
  
  // javascript
  document.getElementById('numField').validity.valid
  </code></pre>
  
  <p>And this works.</p>
  
  <p>With jquery, I've seen how to validate a whole form, but this element is not inside a form (its value is just retrieved as part of an ajax method).</p>
  
  <p>Is there a jquery equivalent of the validity check?</p>