Skip to content

Instantly share code, notes, and snippets.

@christianvuerings
Created January 29, 2014 18:23
Show Gist options
  • Select an option

  • Save christianvuerings/8693859 to your computer and use it in GitHub Desktop.

Select an option

Save christianvuerings/8693859 to your computer and use it in GitHub Desktop.
Enable autocomplete
var inputs = document.querySelectorAll('input');
for (var i = 0; i < inputs.length; i++) { inputs[i].setAttribute('autocomplete', 'on') };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment