An open API service indexing awesome lists of open source software.

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

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

[![Analytics](https://ga-beacon.appspot.com/UA-50688851-1/jquery.placeholderfallback.js)](https://github.com/igrigorik/ga-beacon)