I have a login form and I NEED to force autocomplete to off. i have tried
jquery: $('#login').attr("autocomplete", "off");
HTML: <input ... autocomplete="off">
Javascript: document.getElementById('myInputId').autocomplete = 'off';
When I click the login input box a drop down appears
across all browsers
FF, Chrome, IE..
N.B. this applies to users who have previously saved password information They need to forced to enter login details
Or add with jQuery: $("input, select, textarea").attr("autocomplete", "off");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With