<script type="text/javascript">
function blockSpecialChar(e) {
var k;
document.all ? k = e.keyCode : k = e.which;
return ((k > 64 && k < 91) || (k > 96 && k < 123) || k == 8 || k == 32 || (k >= 48 && k <= 57));
}
</script>
<input id="name" type="text" name="name" placeholder="Enter name"
onpaste="return false;" onCopy="return false" onCut="return false" onDrag="return false" onDrop="return false" onkeypress="return blockSpecialChar(event)"
class="form-control" value="@Model.EMPLOYEE_INFO_PERSONAL_DETAILS.FIRST_NAME" required />
No comments :
Post a Comment