Select All Textarea Text
CSGNetwork FREE Source Code, Javascript Source, and Code Snippets!
CSGNetwork Custom Search
     Bookmark and Share
á
CSGNetwork
Snippets
Calculators
Top Free Apps
Home
Back



Right click this window and select "view source" in order to copy the source for this script.

Select All Text




The link or button to activate the selection of text can be anywhere. In this example, "SelectForm" is the name of the form, and "SampleTextArea", the name of the textarea tag to select and highlight.

Select All Textarea Text

This is a JavaScript routine that can be embedded in most scripts that present data to the user in a textarea box. It allows the user to highlight and select all the text in the textarea box and to copy it elsewhere.
View the source.


Bookmark and Share
Registered® Trademark™ and Copyrightę 1973 - CSG, Computer Support Group, Inc. and CSGNetwork.Com All Rights Reserved