Text disappear when clicked

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
JohnTaylor
Forum Newbie
Posts: 2
Joined: Sat Feb 02, 2008 10:40 pm

Text disappear when clicked

Post by JohnTaylor »

Newbie here - sorry - looking for script for a 'text disappear when clicked', ie. . .

http://www.mojopages.com/popular-catego ... categories

.. as on the top of the page...

Thanks in advance....
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: Text disappear when clicked

Post by John Cartwright »

Code: Select all

<input type="input" onfocus="this.value=''"
:P
JohnTaylor
Forum Newbie
Posts: 2
Joined: Sat Feb 02, 2008 10:40 pm

Re: Text disappear when clicked

Post by JohnTaylor »

Thanks, that worked...
Post Reply