I have a form text box with a default line of text in it. Does any one know of a way where when the user clicks on the text box the default text disappears and they can just type their query.
As expansion to knighty's example the following code will put the default text line back into the text field, if the user types nothing and clicks outside the text field.