Return to Snippet

Revision: 60385
at November 6, 2012 19:30 by nshakin


Initial Code
onblur="if (this.value == '') {this.value = 'youDefaultValue';}"  onfocus="if (this.value == 'yourDefaultValue') {this.value = '';}"

Initial URL


Initial Description
Removes default value on focus and replaces on blur

Initial Title
Remove Input Value Text On Focus

Initial Tags


Initial Language
JavaScript