But I put this into my code:
<form id="emailbox" name="form1" method="post" action="">
<input type="text" name="go" id="go" value="your e-mail" onclick="removeText()"/>
<input type="submit" value="Join" />
Now that I have a variable, name, for the value of the value attribute, what function can I use to change the value attribute to blank? I'm still having trouble here.
var form = document.getElementById['emailbox'];
var name = form.elements['go'].value;