Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
63
rated 0 times [  64] [ 1]  / answers: 1 / hits: 173180  / 13 Years ago, thu, june 16, 2011, 12:00:00

It seems it's a very well known problem but all the solutions I found on Google don't work on my newly downloaded IE9.



Which is your favorite way in order to enable the Placeholder property on the input and textarea tags?



Optional: I lost a lot of time on that and didn't look for the required property yet. Would you also have some advice for this? Obviously I can check the value in PHP, but to help the user this property is very convenient.


More From » html

 Answers
16

HTML5 Placeholder jQuery Plugin

- by Mathias Bynens (a collaborator on HTML5 Boilerplate and jsPerf)



https://github.com/mathiasbynens/jquery-placeholder



Demo & Examples



http://mathiasbynens.be/demo/placeholder



p.s

I have used this plugin many times and it works a treat. Also it doesn't submit the placeholder text as a value when you submit your form (... a real pain I found with other plugins).


[#91686] Tuesday, June 14, 2011, 13 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
averyc

Total Points: 102
Total Questions: 113
Total Answers: 89

Location: Taiwan
Member since Mon, Sep 6, 2021
3 Years ago
;