The plugin adds support for HTML5 placeholder in all major browsers, including IE6.
The plugin does not superimpose its will on browsers, but checks if the browser natively supports the HTML5 placeholder attribute for input and textarea elements.
The plugin automatically adds class="placeholder" to the elements who are currently showing their placeholder text.
This allows the label to be styled via CSS.
A demo and instructions are included with the download package.
What is new in this release:
- Fixed potential problem caused when other JS libraries inject DOM elements right after input/textareas with placeholders.
- Adds AMD support.
What is new in version 2.1.2:
- Fixed potential problem caused when other JS libraries inject DOM elements right after input/textareas with placeholders.
- Adds AMD support.
What is new in version 2.1.0:
- Fixed potential problem caused when other JS libraries inject DOM elements right after input/textareas with placeholders.
- Adds AMD support.
What is new in version v2.0.7:
- Fix regression where password placeholders get displayed as text in Firefox 3.5.
What is new in version v2.0.6:
- Made sure the input cursor doesn't disappear when moving the focus to a blank input field in IE8.
What is new in version v2.0.5:
- Fixed a typo that caused chaining to break in some cases.
What is new in version v2.0.3:
- Fixed typos.
What is new in version v1.8.7:
- Make submit handler work for dynamically inserted forms.
Requirements:
- JavaScript enabled on client side
- jQuery
Komentáře nebyl nalezen