Created
April 19, 2020 14:44
-
-
Save Frolki1-Dev/049f123fddfa5888c3577f7b7ebbb596 to your computer and use it in GitHub Desktop.
[HTML] Disable on all forms the autocomplete function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('form').each(function () { | |
if(!$(this).is('[autocomplete]') && !$(this).data('allow_autocomplete')) { | |
$(this).attr('autocomplete', 'off'); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment