Input Number OnlyCoding / Agustus 2, 2019 Agustus 28, 2020 / HTML <input type="text" onKeyPress="if(event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;" name="Handphone" class="form-control" id="Handphone">