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

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

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




  1. Your Inputs / Textarea should have `Placeholder` attribute with value.

  2. You can able to change the placeholder container element type and their classes

  3. 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).