Onlock clear value for Input

/ Published in: PHP
Save to your folder(s)

Copy this code and paste it in your HTML
  1. <input type="text" name="field-name-here" onclick="this.value='';" onfocus="" onblur="this.value=!this.value?'Enter Email To Get Updates':this.value;" value="Enter Email To Get Updates" />


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.