I can't test on IE, but I just realized that even Chrome doesn't support this HTML5 "placeholder" stuff...
even this one,
the box where it says it works in all modern browsers it doesn't work in Chrome (Version 21.0.1180.89 on mac)
(I mean functionality that box gets emptied of text on focus..)
so how do I make this work in browsers that do not support this stuff? (& I can't even test on IE)
all this slick HTML5 stuff in the end is more work than it's worth... :-(
because of the old browsers..
so how about just including a "value" attribute -- in addition to placeholder attribute -- and then doing the traditional JS stuff to empty the field on focus
instead of doing this whole modernizer thing?
(can you just detect whether the browser supports support placeholder attribute? I can take it from there....;-)
not even sure what things I need to check here
to make this placeholder functionality work with modernizer/older browsers...
(checked the two that mention "input" but might not do the trick..)
at any rate the code they have here,
also doesn't work in Chrome...
oh brother, so much time spent for a simple text input...
AND HOW ABOUT TEXTAREA???