I've tried this but it doesn't work:

$(function() {
    $('input[type=text]').focus(function() {
      $(this).val() == '';
      });
 });
Edit
Report