I don't remember why i use this.defaultValue ? this.defaultValue : '': in the code below, istead of only this.defaultValue.
$('input:text, textarea').blur(function() {
if ($.trim(this.value) == ''){
this.value = (this.defaultValue ? this.defaultValue : '');
}
});
Why not this:
$('input:text, textarea').blur(function() {
if ($.trim(this.value) == ''){
this.value = this.defaultValue;
}
});