Putting this jqery instruction on each page removes the autocomplete forms but only from that page:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js">
$("form").attr('autocomplete', 'off');
</script>
The problem is that I reload the pages in the project by means of ajax so the dynamically created forms do not apply the autocomplete="off" I had thought to put the isntruccion $ ("form"). on so that the created forms dynamically add the autocomplete property off. I've tried it this way and it does not work.
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js">
$(document).on( "ready", function() {
$("form").attr('autocomplete', 'off');
});
</script>
What solution could I have?