Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The jQuery example plugin does this a tad better, but with out the special fade out a bit on click effect, which I actually prefer.

http://mucur.name/system/jquery_example/



I agree. Fading the text but not removing it may be confusing to some users who won't understand why there is text they can't delete in the text box.

It is pretty, though.


The benefit of the In-Field Label plugin is that there is never a "temporary" value in the field itself. Since the label is overlaid, the field remains empty. There is less to check for server side if a form gets submitted prematurely.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: