html input box integer only
<input type="number" name="someid" />
html input box integer only
<input type="number" name="someid" />
input text tag only input integer number
<input type="text" class="number" />
<script>
function degitOnly(e){
var unicode = e.charCode ? e.charCode : e.keyCode;
if (unicode!=8 && unicode!=9)
{
if (unicode<46||unicode>57||unicode==47)
return false
}
}
$(".number").inputFilter(function(value) {
return /^-?\d*$/.test(value);
});
</script>
number input html
<input id="number" type="number" value="42">
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us