Posted By

cfergus on 05/12/11


Tagged

form default input auto hide text remove click focus from field


Versions (?)

Auto hide input field on focus


 / Published in: JavaScript
 

  1. onclick="this.value='';" onfocus="this.select()" onblur="this.value=!this.value?'Question...':this.value;" value="Question..."

Report this snippet  

You need to login to post a comment.