When I\'m giving input type number the letter e and special charecters are also displaying in input field. I want to display only digits. How to block them?
e
Yo can Block by using some JQuery codes
$('input[Type="Number"]').keypress(function (e) { if ('0123456789'.indexOf(e.key) == -1) { e.preventDefault(); } });
This will affect on all Numeric typed Input