Hello everyone, this will hopefully be a simple question. How do I get this form to clear what is in the input fields when a user clicks on it: http://gator1120.hostgator.com/~rrm1/ Thanks!
You don't want to but the text next to the box? <td width='125px' align='left'><font color='red'>Name:</font></td> <td align='left'><input name='Name' type='text' class='textbox-style' id='Name' size='35' maxlength='50' value='" td> I'm sure theres an easy answer to put in the box and the it clears, I've seen it before.
Nah I want it in the input field but i want it to clear when you click it. I imagine its javascript or something and id google it but i dont know what to google exactly.
This should fix it. <input type="text" class="input" onclick="this.value='';" onfocus="this.select()" onblur="this.value=!this.value?'*Your Name':this.value;" value="*Your Name" name="Name"/> Edit:Typo