Good morning, everyone. I have a temperature field and only at least 5 degrees and maximum 30 degrees. What they see is my validation but not the quantity. They could help me.
<label for="rep_legal">Temperatura</label>
<input type="text" id="txt_temperatura" class="solo-numero">
$('.solo-numero').keyup(function () {
this.value = (this.value + '').replace(/[^0-9]/g, '');
});