Makes the html5 input placeholder attribute work in all browsers
Latest commit 5a87f05 Jan 22, 2015 @jcampbell1 Merge pull request #10 from moshfeu/master
Add align to config
Failed to load latest commit information.
jquery.html5-placeholder-shim.js Width calculation fix Jan 22, 2015 Better readme using markdown. Jul 14, 2010
test.html Upgrade to jQuery 1.4. Jan 16, 2010

HTML5 Placeholder support for non compliant browsers using jQuery.

This plugin adds support for the placeholder attribute in HTML5 form elements to browsers that don't natively support it.


Just include the jquery.html-placeholder-shim.js script into your document head like so:

  <script type='text/javascript' src='jquery.js'></script>
  <script type='text/javascript' src='jquery/html5-placeholder-shim.js'></script>

The script will automatically execute itself on the $(document).ready event.

HTML5 placeholder Example:

<input type="search" placeholder="search the internets" name="query" />


Dual licensed under the MIT and GPL licenses.