I have to implement key listner for passwordfield, if password field length is greaterthan 12 then the field doesn't allow to type text in passwordfields.
Thanks in advance
posted 7 years ago
I think if you are developing a web application using HTML then easiest way would be to use the password type in html and provide the maxlength attribute as 12. you dont need any key listener for this,
try this "<input type="password" size="12" maxlength="12" />"