title: Clear input on focus with jQuery and return on blur
body: <p>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 defaultText.</p>
  
  <pre>
  $(function() {
      var defaultText = $(this).val();
      $('input[type=text]').focus(function() {
        $(this).val('');
        });
       $('input[type=text]').blur(function() {
        $(this).val('defaultText');
        echo 
        });
   });
  </pre>