Sha256: 9776e053a213bc611acfb3cd4de9a26ff2ef137a5028764b3f4e349315d50809

Contents?: true

Size: 720 Bytes

Versions: 4

Compression:

Stored size: 720 Bytes

Contents

# 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.

## Usage:

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

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

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

## HTML5 placeholder Example:

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

## License:

Dual licensed under the MIT and GPL licenses.

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
survivalkit-1.0.beta.15 templates/project/sources/jquery-html5-placeholder-shim/readme.md
survivalkit-1.0.beta.14 templates/project/sources/jquery-html5-placeholder-shim/readme.md
survivalkit-1.0.beta.13 templates/project/sources/jquery-html5-placeholder-shim/readme.md
survivalkit-1.0.beta.12 templates/project/sources/jquery-html5-placeholder-shim/readme.md