Things To Do With Textarea Form Fields
By Will Bontrager2005-09-26
Automatically Selecting Content
Notice that the content in textarea fields published in the above blog entries is automatically selected when you click it. To make that happen, we use the following attribute in the <textarea...> tag:
onclick="javascript:select()"
Tutorial Pages:
» Things To Do With Textarea Form Fields
» Automatically Selecting Content
» Specifying Text Style, Wrap Characteristics, and Read Only
» Bold Text and Text/Background Colors
» Textarea Field With Background Image
Copyright 2004 Bontrager Connection, LLC
