So… I have a textbox for a search function on a page that I set to display “Enter Search Terms…” by default. The goal is, when the user clicks on the text area, the default text disappears. With the default text gone, the user can type what they want without having to manually delete the default text.
Find More Stuff...
Notice “onFocus” in bold above…
To accomplish the goal of deleting text when clicking on a text area – add to your text input code.
Leave a Reply