Resetting a textbox?

I have a form, with a text box. the intitail text in the textbox says “type text here” . Is there how do I reset that text to nothign when the users clicks in that text field?


textbox.onSetFocus = function(){
	if (this.text == "type text here") this.text = "";
}

hey thanks for the reply