■ 語法主題:全選表單內容(2)


■ 控制碼內容:
將下面複製至 <body> 標籤後
<form name="copy">
<textarea cols="40" name="txt" rows="4" style="BACKGROUND-COLOR:#ffffff; COLOR:#000000; FONT-SIZE:9pt">
This is some text. This is some text. This is some text. This is some text.
</textarea><br>
<input onclick="javascript:this.form.txt.focus();this.form.txt.select();" type="button" value="全選">
</form>