Contoh Box Auto-Select
<form action="http://www.html.am/html-codes/textboxes/submitted.cfm">
Contoh penggunaan script yang hasilnya seperti diatas:-
<textarea cols="banyak-kolom" name="nama-boxnya" onclick="this.focus();this.select()" rows="5" style="background-color: warna-background; border: 8px double warna-border; color: warna-tulisan; padding: 8px;overflow: scroll;">
Isi-kode yang akan auto-select
</textarea>
<form action="http://www.html.am/html-codes/textboxes/submitted.cfm">
-
<textarea cols="50" name="box contoh" onclick="this.focus();this.select()" rows="5" style="background-color: rgba(233,228,222,0.4);border: 8px double brown; color: brown; padding: 8px;overflow: scroll;">
Auto-Select Text
</textarea>
Komentar
Posting Komentar