/ 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.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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';}"