...

View Full Version : Show/Hide Values in Input Text Box



icu222much
07-22-2011, 04:26 AM
I have several input text boxes. The default value for the boxes is the description of the contents of the box. When the user clicks on the box to type, the default values disappear so they can begin typing.

My problem is what if the user forgets what the contents of the box is suppose to be. I am looking for a solution where if the input box is empty, and the user deselects it, the original default value will appear.



<input type="text" value="Event Name" onfocus="value=''" />

vikram1vicky
07-22-2011, 10:30 AM
Sorry I dint understand your issue. Can you explain with a example :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum