Search input value overwrite

Posted under » JavaScript on 08 June 2009

Put this on your text input.

value="search..."  
onblur="if(this.value=='') this.value='search...';" onfocus="if(this.value=='search...') this.value='';"

web security linux ubuntu GIT svn Raspberry apache mysql php drupal cake symfony javascript Ajax css