Forum Moderators: open
For example, a form field might be Description and the default text might be "Type a Description". When they click on the field to enter a description, the field turns blank. After they write a description, I dont want it to disappear if they click on that field again.
This didnt work:
<input name="Description" type="text" value="Type a Description" onMouseDown="if(this.value='Type a Description'){this.value=''};this.style.fontStyle='normal';this.style.fontWeight='bold'" />
It thinks the value is always "Type a Description" even when I type something different in there.