mathiasbynens/jquery-placeholder — Issue #58: Browser Back button (or history.back())  can break placeholder functionality (IE9)
Author: sbull
Created: 2012-02-24 00:43:37+00:00
State: open

There are certain navigation scenarios that can cause placeholder to fail. The following is an example.

```html

Text1:

SUBMIT

```

To see the bug, put this in a directory index file, and click on SUBMIT while the placeholder is displayed (submits form to same file with get parameters "?txt1="). This example automatically navigates "back" after the form submit, and the bug is seen.

You can also see this bug by removing the "window.history.back();" line and manually using the browser's back button.