This tutorial shows how to create background text to your search box that will dissapear on click/focus.
Add jQuery library to your header.
Then add placeholder attribute to your search field.
Then add library that will create fall-back for browsers that doesn't support HTML 5. jquery.placeholder.min.js
Source code viewer
Programming Language: HTML
Then add placeholder attribute to your search field.
Then add library that will create fall-back for browsers that doesn't support HTML 5. jquery.placeholder.min.js