title: How to set the max value and min value of <input> in html5 by javascript or jquery?
body: <p>I am trying to find out how to set the max value and min value of html5 type input by javascript or jquery. </p>
  
  <pre><code>&lt;input type="number" max="???" min="???" step="0.5"/&gt;
  </code></pre>
  
  <p>Would someone please guide</p>