<script type="text/javascript">
function isNumber(evt) {
evt = (evt) ? evt : window.event;
var charCode = (evt.which) ? evt.which : evt.keyCode;
if ( (charCode > 31 && charCode < 48) || charCode > 57) {
return false;
}
return true;
}
</script>
<input type="text" class="form-control" placeholder="TC Kimlik Numarası" id="tc" name="tc" maxlength="11" minlength="11" onkeypress="return isNumber(event)" />
Yorumlar
Yorum Gönder