title: jquery clearing textarea
body: <p>I'm not sure why I am having this issue, if you can help I would appreciate it. </p>
  
  <p>I wrote a function to clear a textbox on click, but it isnt working correctly:</p>
  
  <pre><code>$(function() 
  {
      $('textarea#contact_t').click( function() 
      {
          if ($(this).val() == 'Enter your message Here!') 
          {   
              $(this).val('');    
          }
      });
  });
  </code></pre>
  
  <p>The problem is that it will not allow me to write a value of  '' to the textarea. This same function works if I change the statement inside the if to $(this).val(' ') (with a space in between the quotes). But I want the textbox to be cleared, not have a space at the beginning. It isn't letting me write an empty string to the textarea.</p>