Wed, 2006-08-16 20:29
I am wondering if anyone would know how to do this.
Refer to site:
In the join Email list, I want it so when you click in the box, the words disappear. Any suggestions?
thank you
Thu, 2006-08-17 00:34
#1
Moved to Off Topic as this
Moved to Off Topic as this is a javascript question (Site Discussion is for topics related to this site.)
<script type="text/javascript"> function clearField(thefield) { if (thefield.defaultValue==thefield.value) thefield.value = "" } </script> <input type="text" name="" value="Your text" onfocus="clearField(this)" />
You could do something like this.