<!--Two steps to installing this script-->
<!--1)Add below to HEAD section of page-->
<script language="Javascript">
<!--
/*
Select All script- By Website Abstraction(http://www.wsabstract.com)
Over 200+ free JavaScripts here!
*/
function selectAll(theField) {
var tempval=eval("document."+theField)
tempval.focus()
tempval.select()
}
//-->
</script>
<!--2)Add below to BODY section:-->
<form name="test">
<a href="javascript:selectAll('test.select1')">Select All</a><br>
<textarea name="select1" rows=10 cols=20>This is some text</textarea>
<p>
<a href="javascript:selectAll('test.select2')">Select All</a><br>
<textarea name="select2" rows=10 cols=20>This is some text</textarea>
</form>
<p align="center"><font face="arial" size="-2">This free script provided by</font><br>
<font face="arial, helvetica" size="-2"><a href="http://wsabstract.com">Website
Abstraction</a></font></p>
|