dciccale/placeholder-enhanced — pull request #41 by rthouvenin (2014-12-04 05:32:51+00:00)
Title: Fix $.val()

Two fixes for the replacement of jQuery.val:

- `$('someQuery').val('someValue')` should return the jQuery selection even if it is empty, but it was returning undefined. This breaks chained calls.
- When an input is programmatically emptied while having the focus, it should not be put in placeholder mode. As it has focus, the user can type something in and it would be shown with placeholder style.

By the way, thanks for this plug-in, by the far the best of all solutions I have seen! :)