CodeBelly.com
CodeBrain.NET

Home
Java Applets
Popup Maker
Top Picks
New Scripts
Java Scripts

Highlighting Form Text Areas on Mouse Click
Back to JavaScript Main Index

This simple script set shows how to highlight (select) the text in a form's textarea by clicking on a link.  Useful for code listings, order form information, or other material the visitor may wish to copy to the clipboard with Control+C.

The code listing is its own example.
(See below.)
Clicking the 'here' link will select the text.
Clicking elsewhere will deselect the text.
Click here to select the code in the window below.
Use Ctrl+C to copy it to your clipboard.

Home Java Applets JavaScript Index Resources New Scripts
www.CodeBrain.com Need Still More Scripts? www.CodeLifter.com

Copyright 1996 - 2012 by OEC Corp and CodeBelly.com


CodeBrain InterNET
Group
www.CodeBrain.com www.BrainCode.com www.CodeLifter.com www.MicroTicker.com
www.etLux.com www.OECCorp.com www.CodeBelly.com www.CodeFoot.com
www.jsCode.com www.TrayApps.com www.PopUpWorks.com www.Droiddd.com