Stefan Ullrich’s jQuery plugin on the DECAF site provides a behavior for masking passwords that is familiar to mobile users. The plugin obscures previously entered characters at delayed intervals or when new characters are entered. It falls back on using the browser’s password masking when JS is disabled.

http://blog.decaf.de/2009/07/iphone-like-password-fields-using-jquery/