mathiasbynens/jquery-placeholder — Issue #56: Calling .val('') breaks placeholder functionality in certain scenarios
Author: sbull
Created: 2012-02-23 02:01:58+00:00
State: open

In IE, calling .val('') on an input field can break the placeholder functionality, depending on when the .val('') is actually called.

The following code demonstrates the bug.

```html

Text:

Email:

Password:

Press Enter in a Text or Email field to see the bug (in IE 9).

```