Posted By

officiallyWise on 08/26/11


clear html forms Value onfocus Onblur

Versions (?)

Form Value Clear/Reappear Script

 / Published in: HTML

In HTML forms, places this script in inputs to clear the value. If input box is blank, original value repopulates the input box.

  1. value="Insert E-Mail Here" onfocus="if (this.value == 'Insert E-Mail Here') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Insert E-Mail Here';}"

Report this snippet  


RSS Icon Subscribe to comments
Posted By: BebenKoben on August 26, 2011

i think browse now have support about "placeholder"


You need to login to post a comment.