Let ie support the placeholder attribute, get it through a js section, and placeholderjs
The placeholder attribute is really a new attribute that is super easy to use. Unfortunately, it is only supported by the new version of the browser. In order to write a prompt in the input box, the old method is to overwrite the span tag to create the feeling that the placeholder prompts, now, an easy-to-use JavaScript code provided by Amway is easy to use, so it is no longer afraid that the input box prompts that the placeholder attribute is incompatible ~~
This is useful in ie! If you don't talk much about it, paste the code !!! You only need to add a js file !!
It is the code above, but Sina cannot display it !!! To make it easier for you to copy and paste the data on my Baidu cloud, download and copy the data ~ Baidu cloud address: placeholder source code http://pan.baidu.com/s/1mgYtJWs thank you !!