|
Copied To Clipboard!
<html>
<head>
<title>Select All Textarea Box</title>
<script>
<!--
/* Begin Select All Textarea Box
== This Script Free To Use Providing This Notice Remains ==
== This Script Has Been Found In The http://snapbuilder.com Free Public Codes Library ==
== NOTICE: Though This Material May Have Been In A Public Depository, Certain Author Copyright Restrictions May Apply ==
*/
function selectAll(theField) {
var tempval=eval("document."+theField)
tempval.focus()
tempval.select()
}
//-->
</script>
</head>
<body>
<form name="highlight">
<a href="javascript:selectAll('highlight.snapselect')">Select All</a><br />
<textarea name="snapselect" rows="6" cols="26">This is just some rambling text placed here to provide enough text for this codes demonstration purpose.
|