Menghapus automatis tulisan di kotak search

Demo :




Cara membuatnya

Masukan kode berikut pada tag input:

onFocus="this.value=''"

Contoh penempatan

<form>
<input type="text" onFocus="this.value=''" value="Alamat email anda" />
</form>



Alhamdulillah

0 comments:


Posting Komentar


Creative Commons License
Menghapus automatis tulisan di kotak search by Nano Yulianto is licensed under a Creative Commons Attribution 3.0 Unported License.
Based on a work at http://nanoyulianto.blogspot.com/2011/01/menghapus-automatis-di-tulisan-kotak.html.
Permissions beyond the scope of this license may be available at http://nanoyulianto.blogspot.com/.