I need to restrict a HTML text input only to receive numerical inputs. How can I add this restriction using CSS3 or JavaScript?
In HTML5, you can use <input type="number">
<input type="number">
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
In HTML5, you can use
<input type="number">