how to display only numbers on a form field and stop other inputs using core javascript? -
when filling form field numbers should taken input , displayed on form field.when other characters 'a' filled,they not displayed on form field .only given numbers seen.it should done using core javascript.
http://www.w3schools.com/html/tryit.asp?filename=tryhtml_input_number
<input type="number">
that should need.
edit: after seeing comment: not solution, because want javascript solution. should have been in question, because essential answering question.
Comments
Post a Comment