Hello ... I have a problem that I thought was simple, but I've been looking for a solution for two days ...
I just can not get forms autocomplete off. I remembered the autocomplete="off" for this, but it does not work anymore.
Does anyone have an alternative to doing this on the site? (no matter the language, the HTML will be the same after all).
PS: For Chrome, the code below does the work:
$("input[autocomplete='off']").each(function () {
var input = $(this);
var id = $(this).attr("id");
var name = $(this).attr("name");
input.removeAttr("name").removeAttr("id");
setTimeout(function () {
input.attr("name", name).attr("id", id);
}, 1);
});
Thank you.