HTML5 Placeholder
Average Rating:
(3)
(3)
Description
Discussions
(2)
|
|
-
-
Written August 04, 2011"This simple add-in adds the 'placeholder' attribute to input tags but importantly uses a JQuery 'shim' to enable browsers that don't support it to show the placeholder." What "shim" would that be?
-
Written August 04, 2011It's the jquery.placehol
der shim from: http://plugins. jquery.com/proj ect/html5-place holder Ian
-
-
We should add id="txtWatermar
k" in the Watermark.html 5 Posts | Last Post June 15, 2011-
Written June 15, 2011Hi Ian, I am a test for Web team in a vendor companey in China, thanks for your addin. I found it does not working well on every OS, and add id="txtWatermar
k" will resolve the issues. Like: <input id="txtWatermar k" name="txtWaterm ark" type="text" style="width:33 0px" onfocus="remove Border();" /><br /> So anyone encounter the issue, you can have a try. Feel free to correct me. Thanks, Edison -
Written June 15, 2011Ohh, that's related to the IE version. It also works well if I add <meta http-equiv="X-U
A-Compatible" content="IE=7" /> in the html file under %appdata%. So I think both solution should work. -
Written June 15, 2011Hi Edison, Thanks for the feedback. I'll investigate and update the add-in. Ian
-
Written June 15, 2011Edison, Can you tell me which browser/OS it doesn't work in? I have no problems with it working in IE6-IE9 on Windows 7. Ian
-
Written June 15, 2011Sorry, IE6 on XP, the others via compatability mode in IE9 on Windows 7. Ian
-




