I have a basic search box that I want filled with light gray text that says <enter search query> or similar, and I want it to disappear when the box is clicked on. I also want the ‘<enter search query>’ to reappear when the page is reloaded.
Think I figured this one out also. Instead of javascript changes on the pages where the search box is, I added the below to the backend Perl search script.