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]

 

Information Improvisation

There is a wide diversity of java based computer software available on the internet. You can download software absolutely free of charge. Different types of soft ware include personal finance software that is considered really useful software in the field of business and finance. The tax software and customer relationship management (crm software) are valuable soft wares for those dealing with tax and other financial matters on a daily basis. The soft ware for norton antivirus helps protect your pc from a virus attack.