Use of the jQuery plug-in EnPlaceholder, jquery. enplaceholder

Source: Internet
Author: User

Use of the jQuery plug-in EnPlaceholder, jquery. enplaceholder

On the login registration page recently, the plug-in EnPlaceholder is prompted in the implementation box, but the effect is poor in ie9. 1. If you remember the password, the text in the password box will overlap with the prompt. 2. The prompt appears only for the first time in ie, and the text changed will not appear in Delete.

First, write the detailed usage and parameters of the plug-in.

Before downloading the plug-in

1. <script type = "text/javascript">
$ (Function (){
$ ('Input, textarea '). placeholder ();
});
</Script>

In this way, ie will get the focus text to disappear, and the focus text display will be lost.

 

Add links, which are easy to understand and analyze

Http://www.zhangxinxu.com/wordpress/2012/02/html5-placeholderuse experience to share and expand the exhibition/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.