title: jquery: set min max input in option type number
body: <p>I have this part of code</p>
  
  <pre><code>&lt;input type="number" min="2" max="10" step="2" id="contact" oninput="new_sum"&gt;
  </code></pre>
  
  <p>In the field I can insert  a number > 10 and &lt; 2.</p>
  
  <p>How can I limit it?</p>