https://github.com/jabranr/jquery.placeholderfallback.js
Form fields placeholder fallback for IE using jQuery
https://github.com/jabranr/jquery.placeholderfallback.js
html-form jquery-plugin placeholder
Last synced: 2 months ago
JSON representation
Form fields placeholder fallback for IE using jQuery
- Host: GitHub
- URL: https://github.com/jabranr/jquery.placeholderfallback.js
- Owner: jabranr
- Created: 2014-01-30T16:31:51.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2017-02-12T20:42:55.000Z (over 9 years ago)
- Last Synced: 2026-03-06T12:07:12.004Z (4 months ago)
- Topics: html-form, jquery-plugin, placeholder
- Language: JavaScript
- Homepage: http://j.mp/placeholder-fallback
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Form fields placeholders - jQuery plugin
`placeholderfallback` is a small jQuery plugin providing support for browsers that do not support the `placeholder` attribute for form fields, in particular for Internet Explorer 9 and lower, and Opera Mini 8. This plugin makes use of give `placeholder` attribute to set and display the values accordingly.
# Install
**Bower**
``` shell
$ bower install placeholder-fallback
```
# Usage
+ Include this plugin in your HTML:
``` html
```
+ Call the method on any form field or on multiple form fields by passing them as an array.
+ Wrap this method call between IE conditional tags to make sure that it is only called when required.
# Example
``` html
Example
```
# Dependencies
Requires jQuery 1.8 +
# License
MIT License - © Jabran Rafique
[](https://github.com/igrigorik/ga-beacon)