Results 1 to 5 of 5
Jul 21, 2011, 19:28 #1
- Join Date
- Jul 2009
- 0 Post(s)
- 0 Thread(s)
Show/Hide Values in Input Text Box
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=''" />