javascript - autocomplete="off" force in browser -
i have login form , need force autocomplete off. have tried
jquery: $('#login').attr("autocomplete", "off");
html: <input ... autocomplete="off">
javascript: document.getelementbyid('myinputid').autocomplete = 'off';
when click login input box drop down appears across browsers ff, chrome, ie..
n.b. applies users have saved password information need forced enter login details
or add jquery: $("input, select, textarea").attr("autocomplete", "off");
Comments
Post a Comment