
JavaScript Highlight Text Button
This script will select text within a text area. Is very useful if you have a large amount of text to which you would like a customer or visitor to select and copy.
Example
Script Source
<form>
<textarea name="yourForm" rows=10 cols=80 wrap=virtual readonly="readonly">
You can select this text by clicking the highlight button.
</textarea><br />
<input type=button value="Highlight Text" onClick="javascript:this.form.yourForm.focus();this.form.yourForm.select();">
</form>
Please let me know if this script was helpful to you.
[rating]