سؤال

Can any one suggest to build a password field that behaves the way passwords are entered using iphone?

When I enter some character, it should be visible to the user for a second and then it should turn to *. But I need to get the value from the field when I submit the form.

Its an ExtJs text field. Is there any plugins available for this? Any help on this will be helpful.

هل كانت مفيدة؟

نصائح أخرى

Check out this Fiddle

Change textfield to stars like iPhone

Note: this solution is NOT complete and NOT optimal, for example you will have to handle Delete and Backspace buttons manually. You might find some plugin to do it in other way, but this is the simplest way to do it JavaScript I guess.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top