You should use code, which aborts if the browser has native support for the placeholder attribute.
Example: https://github.com/mathiasbynens/jquery-placeholder More polyfills are listed here (scroll down to "Web Forms: input placeholder"): https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-Browser-Polyfills Am 27.09.2012 18:32, schrieb Jörn Friedrich Dreyer: > Shouldn't we use an HTML5 placeholder attribute? and maybe > http://www.hagenburger.net/BLOG/HTML5-Input-Placeholder-Fix-With-jQuery.html > > I'm asking because chrome prefills the dialog with my credentials which > causes the label to overlay the prefilled text, which looks ugly... > > so long > > Jörn > _______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud
