Closed cuimb closed 9 years ago
I find a problem when i used this pluge in IE9 and the web page has 'href="javascript:void(0)".It will trigger this function:
// Clear placeholder values upon page reload $(window).bind('beforeunload.placeholder', function(e) { $('.placeholder').each(function() { this.value = ''; }); });
Actually, the page not redirect, but the input elements which use placeholder are white. Especially, the password is visible when i write it again. I edit it like this:
$(window).bind('beforeunload.placeholder', function(e) { $('.placeholder').each(function() { clearPlaceholder(); }); });
This is known issue. See https://github.com/mathiasbynens/jquery-placeholder/issues/74 Marking this a duplicate.
I find a problem when i used this pluge in IE9 and the web page has 'href="javascript:void(0)".It will trigger this function:
Actually, the page not redirect, but the input elements which use placeholder are white. Especially, the password is visible when i write it again. I edit it like this: