title: change background color on empty textarea
body: <p>I got a button with id='red'. When I click on it I want those textareas who are empty to turn red.
  My code is not working.</p>
  
  <pre><code>$(document)ready.(function() {
  
   $('#reg').click(function() {
  
  if($(':text').val() == '') {
  
  $(this).css({'color':'red'});
              }
  });
  
  });
  </code></pre>
  
  <p>Thanks a lot for your input guys. I still not working thou. Maybe it is my markup who is screwed up.</p>
  
  <p>I tried every sulotion here but if will not work, goddamn.</p>
  
  <p>Oh I am no allowed to post image yet=(. I explain.</p>
  
  <p>On my site I got 5 text fields that I want to have a red bg if they are empty when I press a register button. But only if they are empty.</p>