Posted By

janvdm on 08/25/10


Tagged


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

janvdm
roli000


Clear Input onclick / onfocus


 / Published in: HTML
 

  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.