×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: Nilesh Yadav
Added: Jun 7, 2017 12:05 PM
Modified: Jun 7, 2017 12:06 PM
Views: 5
Tags: no tags
  1. //Fix for Chrome autofill issue.
  2.       $(window).on('load', function () {
  3.           $('input:-webkit-autofill').each(function () {
  4.               $(this).after($(this).clone(true).val('')).remove();
  5.           });
  6.       });