1. Copy and paste this codes under the <head> tag<script language="Javascript"><!--
function selectAll(theField) {
var tempval=eval("document."+theField)
tempval.focus()
tempval.select()
}
//-->
</script>
2. Copy and paste this codes under the <body> tag
<form name="test"><a href="javascript:selectAll('test.select1')">All</a><br>
<textarea name="select1"
rows="5" cols="33"
style="color: #AFCCE7; border:
1 ridge #4488c6">
Your message goes here.........................
</textarea></form>