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

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -