Posted By

tamuir on 03/17/11


Tagged

input auto hide


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

colinrei


Input Field Auto Hide Value


 / Published in: HTML
 

  1. <input type="text" name="s" id="widget-s" value="Search" onblur="if (this.value == '') {this.value = 'Search';}" onfocus="if (this.value == 'Search') {this.value = '';}">

Report this snippet  

You need to login to post a comment.