Posted By

bubaphex on 11/11/11


Tagged

js html


Versions (?)

Onlock clear value for Input


 / Published in: PHP
 

URL: http://www.erummunir.com/240/clear-text-on-input-field-on-click

  1. <input type="text" name="field-name-here" onclick="this.value='';" onfocus="this.select()" onblur="this.value=!this.value?'Enter Email To Get Updates':this.value;" value="Enter Email To Get Updates" />

Report this snippet  

You need to login to post a comment.