javascript how to set input that only a-z can be used code example
Example: html input only letters
<!--To stop input from accepting numbers-->
<input onkeypress="return /[a-z]/i.test(event.key)" >
<!--To stop input from accepting numbers-->
<input onkeypress="return /[a-z]/i.test(event.key)" >