Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Add and remove label to input field Re: Add and remove label to input field

#101793
jamygolden
Member

have you heard of the placeholder attribute?
Check out this article. Look for the title “Placeholder functionality fallback – jQuery with Modernizr”. If you have Modernizr included and the placeholder attribute applied to the input elements it will work well for everyone.