pretty self explanatory...
views:
500answers:
2
A:
Maybe you can use jquery impromptu plugin, follow the link for a detailed explanation... in a nutshell, you would be using a form's standard input type password.
Something like this:
var txt = 'Enter your password:<br />
<input type="password" id="jPassword"
name="jPassword" value="" />';
function mycallbackform(v,m,f){
if (v){
$.prompt('your password is of '+ f.jPassword.length + 'characters');
}
}
$.prompt(txt,{
callback: mycallbackform,
buttons: { Accept: true, Cancel: false }
});
Jhonny D. Cano -Leftware-
2009-06-10 16:46:19
+1 Was going to suggest something similar to this.
micmcg
2009-06-11 00:22:49
unfortunately type property cannot be changed
gustavogb
2010-09-27 19:32:59
@user49687: you're right. Added an alternative
Philippe Leybaert
2010-09-27 20:17:27