https://github.com/ramsunvtech/jquery.ieplaceholder
jQuery Plugin for IE 7 and 8 PlaceHolder
https://github.com/ramsunvtech/jquery.ieplaceholder
Last synced: over 1 year ago
JSON representation
jQuery Plugin for IE 7 and 8 PlaceHolder
- Host: GitHub
- URL: https://github.com/ramsunvtech/jquery.ieplaceholder
- Owner: ramsunvtech
- Created: 2014-01-05T07:14:44.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-05-19T09:56:42.000Z (about 12 years ago)
- Last Synced: 2025-01-24T06:13:05.540Z (over 1 year ago)
- Language: JavaScript
- Size: 238 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
jQuery.IEPlaceHolder
====================
IEPlaceHolder is jQuery Plugin for Internet Explorer 7, 8 and 9
```javascript
$(document).ready(function () {
$.fn.iePlaceHolder({
Class: 'place-holder',
element: 'span'
});
});
```
How it Works?
This Plugin will read the input or textarea element's `placeholder` attribute and insert the new element before every form input / textarea
Points to Remember
- Your Inputs / Textarea should have `Placeholder` attribute with value.
- You can able to change the placeholder container element type and their classes
- Placeholder has basic styles so it has to be styled as per your blocks.
Options
- Class
- You can able to change the placeholder container's class name for updating few more styles.
- element
- You can able to change the placeholder container's element type (for example: span to div).