This almost works. However, when leaving the field \"defaulttext\" appears rather than the original text value. Not sure how to most efficiently echo the variable inside default
Simpl write $(this).val(defaultText): without the ''s else it wont treat it as a variable.
$(this).val(defaultText):