Hi Vishnu,

I'm not 100% sure, but this seems to work in most situations:

<input type="text" name="UserName" autocomplete="off" readonly onfocus="this
.removeAttribute('readonly');" >
<input type="password" name="Password" autocomplete="off" readonly onfocus="
this.removeAttribute('readonly');" >

This is however totally depending on undocumented browser behavior. 
Renaming the password field to something different might add some 
additional protection.

Be aware that this will annoy the hell out of most users, they prefer to 
save their passwords!

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to