Hi All!
I hasten to present your new completely painless plugin Placeholder.
This plug-in is quite different from the existing logical approach of other plugins. It was reviewed and was selected in accordance with a popular browsers.
Full support for this plugin has the following browsers:
This plug-in is quite different from the existing logical approach of other plugins. It was reviewed and was selected in accordance with a popular browsers.
Full support for this plugin has the following browsers:
- Internet Explorer: 6, 7, 8, 9.
- Internet Explorer 10: native.
- Chrome: native.
- Firefox: native.
It very fast:
Сode is fully optimized for browsers, and works very well.
You will not notice the difference between Chome(where this plugin is disabled and uses the native function of the browser) and IE*
It operates as follows. The plugin itself determines whether a browser supports attribute "placeholder" and if not, then it include this support. If the browser has support for this attribute, then this plugin is disabled.
So you can don't worry, about the extra resources, it does not take.
You will not notice the difference between Chome(where this plugin is disabled and uses the native function of the browser) and IE*
It operates as follows. The plugin itself determines whether a browser supports attribute "placeholder" and if not, then it include this support. If the browser has support for this attribute, then this plugin is disabled.
So you can don't worry, about the extra resources, it does not take.
It very easy:
Just include this plugin on your page and run it when you want.
For example:
Good luck with your development!
For example:
-
Include:
-
Run:
$(window).load(function(){
$('.loginControl').placeholder();
});