cara membuat teks area select all

29 Mei 20120 comments

<form name="copy" style="font-family: monospace; font-size: 8pt;">
<input onClick="javascript:this.form.txt.focus();this.form.txt.select();" type="button" value="Select All" />
<div style="border: 1px solid rgb(238, 238, 238); height: 200px; overflow: auto; width: 500px;">
<textarea cols="200px" dir="ltr" name="txt" rows="20px">code anda di sini gan  </textarea></div>
</form>

hassil dari scrip di atas seperti di bawah ini
Selamat mencoba dan semoga sesuai dengan yang anda inginkan.

Share this article :

Catat Ulasan

 
Support : Creating Website | Johny Template | Mas Template
Copyright © 2011. lubanyuwangi - All Rights Reserved
Template Created by Creating Website Published by Mas Template
Proudly powered by Blogger