set min and max value in input type number jquery code example
Example: html min max example input number
<input type="number" id="quantity" name="quantity" min="1" max="5">
<input type="number" id="quantity" name="quantity" min="1" max="5">