.find(‘.closure-notes input’)
.val(closureMsg)
.focus(function(){
if(! $(this).data(‘hasChanged’) ) {
$(this).val(”);
}
})
.keyup(function(){
$(this).data(‘hasChanged’, true);
})
.blur(function(){
if(! $(this).data(‘hasChanged’)) {
$(this).val(‘Closed’);
}
})
Advertisement