Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE9-7? When using $('selector').val('foo') the placeholder text won't get removed #123

Open
neybar opened this issue Mar 13, 2013 · 1 comment
Labels

Comments

@neybar
Copy link

neybar commented Mar 13, 2013

In IE if you update an input field of type password, the placeholder text won't get removed from the box. If you manually set focus on the field with the mouse, then the field will update and remove the placeholder.

I was able to prove that the set hook is happening OK. Calling a subsequent .trigger('blur') or .trigger('focus') on the input element doesn't really help.

I created http://jsfiddle.net/rxrmD/3/ to show the issue.

ralfhergert pushed a commit to ralfhergert/jquery-placeholder that referenced this issue Jun 13, 2013
…ange events to set/remove the placeholder when a script changes the value after initialization;
@amerikan amerikan added the bug label Dec 29, 2014
@amerikan
Copy link
Collaborator

I tested this in IE9 and can confirm the bug exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants