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 textareawidget1 = new Spry.Widget.ValidationTextarea("textareawidget1", {hint:"Enter your address here"});
</script>
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/en_US/Spry/1.4/WSF5543D13-BA19-441f-991B-6DD7936003ED.html
Comments
Comments are no longer accepted for Spry 1.4. Spry 1.6 is the current version. To discuss Spry 1.4, please use the Adobe forum.