<input name="textbox" type="text" value="Click here to type" onfocus="if(this.value=='Click here to type')this.value='';" onblur="if(this.value=='')this.value='Click here to type';">
..onfocus/onblur work on textfields but not textarea elements. Is there any workaround, using jQuery maybe?
Works for me.
Could fail if you put some extra newlines/spaces in the value of course.