Messages which go away once you click on the etxtbox
Hi! I'm trying to do something like what sitepoint did on the main page. I need a textbox, with a message "Subscribe Here" in it. But when people click on it, the messages go away and you can insert your email address normally.
I looked at sitepoints code, and got this.
<input type=text name=email size=10 style="font-family: Verdana,Geneva,Arial; font-size: 8pt; width=85" onFocus=this.value='' value="SUBSCRIBE!">
My code right now looks like this:
<INPUT TYPE="TEXT" NAME="subject" VALUE="$subject" SIZE=40 MAXLENGTH=85>
How do I do that?