※ 選擇全部 ※
|
<script language="Javascript"> <!-- function selectAll(theField) { var tempval=eval("document."+theField) tempval.focus() tempval.select() } //--> <form name="test"> <p align="center"><a href="javascript:selectAll('test.select1')">按此展示結果</a><br> <textarea name="select1" rows="10" cols="60"><script language="Javascript1.2"> <!-- var message = ""; function printpage() { window.print(); } document.write("<center><form><input type=button " +"value=\""+message+"\" onClick=\"printpage()\"></form></center>"); //--> </script> |