Spry

Create a hint for a text area

The hint option lets you display a hint that lets your user know what kind of text they should enter (for example, “Enter your address here”). The hint appears in the text area when the user loads the page in a browser and no predefined value exists.

 To create a hint for a text area, add the hint property to the constructor and the text of your hint as the value, as follows:
<script type="text/javascript">
	var ta1 = new Spry.Widget.ValidationTextarea("textareawidget1", {hint:"Enter your address here"});
</script>