|Official Website:||Go to website|
|License:||Free for personal use|
placeholderpatch is a jQuery plugin that enables Older Browsers to support HTML5
Placeholder attribute. The
placeholder is an useful and user-friendly attribute introduced in HTML5 that shows preset text in a text field until the field is focused on, then hides the text.
How to use it:
1. Include the latest jQuery library and placeholderpatch.js in the head section
2. Create a input field with a ID of 'demo'
<input type="text" id="demo" placeholder="jQueryScript.Net" />
3. Then call the plugin
- The placeholder text must now be provided by only by the placeholder attribute
- The patch is now only applied if placeholder attributes are not supported already by the browser
For more Advanced Usages, please check the demo page or visit the official website.