Hello,
I was wondering if there's an easy way with javascript (including JQuery, which we're using on the site) to put descriptive text in a text input until the user clicks it to type in their own text.
For instance I'd like to put the word 'Search' in a text input (preferrably in a lighter color than real input) until the user clicks the input, when it disappears and allows them to type in their search terms.
I don't want to actually have the word 'Search' be the value of the text input though, because it is somewhat important that the user can search for the word search.
I was thinking of absolute positioning a <p> element with the word search over the input and hiding it when it (or the input) is clicked.
What do you think? is this horribly misguided?