A very very tiny jQuery based plugin that avoid the user type wrong characters in the input field Only Letters (Aa-Zz) $('#input-field').onlyLetters(); Only Numbers $('#input-field').onlyNumbers(); coming soon more features...