So, for example, in the facebook search bar there is a weak word that says “search”, but when you click on the panel, it becomes empty, and you can start typing when you click “search”, it returns.
Similarly, a SO ask question title field has weak words that disappear when you start typing.
I'm not too sure what this effect is called, but I wonder if there is a jQuery plugin in it that helps achieve this. It is not particularly difficult to program, but I thought why reinvent the wheel if someone had already made a plug-in for it.
source
share