how to clear a textbox in a form with JS code example
Example: js clear text in input
<input type="text" value="A new value" onfocus="if(this.value=='A new value') this.value='';">
<input type="text" value="A new value" onfocus="if(this.value=='A new value') this.value='';">