-1

how do i disable remember password alert in mozilla firefox through code

i tried this....

<html>
<head>
<body>
    < input type ="password" autocomplete : off />
</body>
</head>
</html>

this works on chrome and ie... but didn't works on mozilla...... anyone have solution please help me....!

and also tried to change password field to text feild then it working.... but for security purpose this not taken

Salmaan C
  • 301
  • 3
  • 15

2 Answers2

0

If you are trying to disable <input>. This will work <input type ="password" disabled="disabled"/>. Add disabled="disabled".

Afnan Ahmad
  • 2,492
  • 4
  • 24
  • 44
  • Check http://stackoverflow.com/questions/41636724/how-to-prevent-autofill-of-previous-data-in-asptextbox/41712737#41712737 – Afnan Ahmad Jan 18 '17 at 09:03
0

Modern browsers dropped the support for autocomplete="off", see this Is autocomplete="off" compatible with all modern browsers?

A jQuery solution is given here Input type=password, don't let browser remember the password

Community
  • 1
  • 1