marcgg/Simple-Placeholder — pull request #8 by jaswope (2013-02-08 20:57:33+00:00)
Title: Actual text misidentified as placeholder text

If the actual text entered is the same as the placeholder text, the plugin treats it as placeholder. This results in the text being cleared prior to submit and being cleared on focus.

To fix this, I keep track of whether the plugin has created the placeholder text or not in a jQuery data element, and check that along with the contents of the field. It may be possible to use just the data element for the check (and omit the comparison of the contents of the field with the placeholder text), but I'll leave that decision with the maintainer.