Created
October 13, 2017 05:30
-
-
Save sahanh/d5b609ae925bb529c84ce261f4864bc8 to your computer and use it in GitHub Desktop.
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
<script> | |
jQuery(document).ready(function(n){var c=[{s:"input[name=name]",ac:"name"},{s:"input[name=email]",ac:"email"},{s:"input[name=phone]",ac:"tel"},{s:"input[name=address]",ac:"shipping street-address"},{s:"input[name=city]",ac:"shipping locality"},{s:"input[name=state]",ac:"shipping region"},{s:"input[name=zip]",ac:"shipping postal-code"},{s:"input[name=country]",ac:"shipping country"},{s:".cc-number",ac:"cc-number"},{s:".cc-cvc",ac:"cc-csc"},{s:".cc-expirey-month",ac:"cc-exp-month"},{s:".cc-expirey-year",ac:"cc-exp-year"}];n(".containerInner").replaceWith(function(){return n("<form />",{"class":"containerInner"}).append(n(this).contents())}),n.each(c,function(c,e){n(e.s).attr("autocomplete",e.ac)})}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment