tags:

views:

162

answers:

1

Hi All,

i am having the textbox which needs to accepts only alphabets i tried with jquery mask but its only for numeric i can able to do , but needs to enter only alphabets in a textbox can anyone help me in this regard.

A: 

I like the Masked Input Plugin, works very well.

<input type="text" id="textOnly" />

jQuery(function($){
   $("#textOnly").mask("aaaaaa");
});

This would accept 6 letters only.

Dustin Laine