This is a simple plugin that turns properly formatted HTML forms into forms with in-field label support. Labels fade when the field is focussed and disappear when text entry begins. Clearing a field and leaving brings back the label.
Browser Support:
IE6+, WebKit Browsers (Safari, Chrome), Firefox 2+ * IE6 requires a background-color be set on the label to match the background of the field.
Know Issues:
Browser Auto-Complete can cause problems in hiding the labels. Less of an issue for Login Boxes, but much more of an issue with comment forms. For Firefox and Safari you can use autocomplete=”off” on the input elements as a temporary fix.
Demo: http://fuelyourcoding.com/scripts/infield/
Download: git://github.com/dcneiner/In-Field-Labels-jQuery-Plugin.git
Source: http://fuelyourcoding.com/scripts/infield/

Related Listings:
RSS feed for comments on this post. TrackBack URL
October 13th, 2009 at 10:47 am
[...] This post was mentioned on Twitter by Web Development News. Web Development News said: In-Field Labels jQuery Plugin: This is a simple plugin that turns properly formatted HTML forms into forms with.. http://bit.ly/bMoRB [...]