Auto Select & Copy
This goes in the HEAD of your document.
This goes in the BODY of your document.
The key to adding the "Highlight" feature to your form elements, as illustrated in the code of Step 2, are: 1) Giving your form a name (ie: <form name="test"> 2) Giving the form element in question a name (ie: <textarea name="select1"> 3) Adding the <a> code: <a class="highlighttext" href="javascript:HighlightAll('test.select1')">Select All</a> directly above the form element, where the part in red references the form, then the element to highlight's name (note the quotation marks around it).
Just about every Dynamic HTML script on this site is ©opyright Dynamicdrive.com, DHTML Zone, DHTML Shock, or the person whose name appears in the credits to the script. Let it be known that I wrote NONE of them.