danielstocks/jQuery-Placeholder — pull request #29 by ericmann (2012-06-13 20:56:47+00:00)
Title: Override jQuery's .val() method to return the real text.

This patch fixes issue #15. Tested in IE9.

Internet Explorer has problems with this particular polyfill. If no text is entered in an element, then jQuery's .val() method will return the text of the palceholder.

This patch overrides jQuery's default .val() method for browsers lacking native placeholder support and extracts the real value of the field. It falls back on jQuery's built-in .val() where needed.