Hi all,
(Sent this to discuss@jquery.com but never saw it turn up after that, trying again to the Google Groups address......)

I'm looking for a piece of jQuery code that does the following:

With a textbox (let's give it the ID of "#searchbox"), when it's clicked on or tabbed to, IF the value is the default value (e.g. "user, game, etc.."), the field should go blank. When the field is tabbed out of or otherwise unfocused, it should return to the default value ONLY IF it's blank.

Thoughts?

Regards,
Michael Price

Reply via email to