I have a problem with mask in jquery, I want to make a mask that will allows me to input any letter 0-n times. I have something like this:
$.mask.definitions['@']='[A-Za-z]';
$('#textMask').mask("@@@@@@@@@@");
But with my code I could insert only to ten characters. anyone have an idea If it is of course possible?
I think about something like this:
$('#textMask').mask("@*");
but this allows me to insert one letter and one no matter what character. e.g d5 etc. In brief I want to allow user to type a text containing only letters. e.g.
abcdEEEE
abRFdas
a
//empty field
bfdjksgbjfdsgbjklfbjklfgnfljkgbnhlfsdjgnfdlskgnfdsgfhsdlgdf
...
etc.
I used JQuery 1.10.3 and plugin version 1.3.1 (http://digitalbush.com/projects/masked-input-plugin/)