/ 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
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';}"
Comments
Subscribe to comments
You need to login to post a comment.

i think browse now have support about "placeholder"
http://beben-koben.blogspot.com/2011/07/html5-placeholder-with-css.html
hihihi...cheers^^