spacer.gif (807 bytes)

 

Select All


Directions: Developer's View

Step 1: Insert the following script into the <head> of your page:


Step 2: Add the below sample form to the <BODY>:


That's a wrap.

More info on configuring the script

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).

 


Copyright © 2001 bogolubow@narod.ru BYN., ALL RIGHTS RESERVED
SE@RCHER BYN  logo are registered trademarks  Online in RuNet
 Last Updated:  Oct 10, 2001