This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Simple Placeholder Fallback | |
* | |
* A simpler and more robust method for adding fallback input placeholder support for | |
* browsers that dont support the attribute. No value spoofing, hidden input creation | |
* or other crazy methods. Simply appends the placeholder text after the input as help | |
* text. | |
* | |
* Simple & works with even the craziest validation and form submission logic, which is where | |
* the other techniques struggle. |