4 ms·
Seems OTT to me, I generally use normal boring labels, then modernizer to detect if the browser supports placeholders, if so hide the labels and add placeholde
by 5h 14y ago
Seems OTT to me,
I generally use normal boring labels, then modernizer to detect if the browser supports placeholders, if so hide the labels and add placeholders to the attributes
- remybach 14y agoThat's not what placeholders are meant to be used for though (see here: http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#the-placeholder-attribute http://www.whatwg.org/specs/web-apps/current-work/multipage/...). This plugin doesn't replace (true) placeholder functionality, so I suppose it's the same as what you're doing except more semantic.
- remybach 14y agoOh, also... once you're in the field, the placeholder disappears and you have no idea what you were meant to type (which is why the plugin slides to the side by default).
- flixic 14y agoNo. Placeholders stay visible until user starts typing. That is, empty focused field still has visible placeholder.