Monday, August 7, 2017

How to disable Chrome autofill with jQuery

To disable the Google Chrome autofill,
the solution is to set the autocomplete in the input element to off.
with the following jQuery function, all the input element in the page will be set autocomplete to off.

    $("input").each(function () {
         $(this).attr("autocomplete", "off");


No comments:

Post a Comment


Related Posts Plugin for WordPress, Blogger...