title: validating my ckeditor text area with jquery
body: <p>I have a text area which I've used ckeditor on:</p>
  
  <pre><code>&lt;form name="product_edit" action="products.php" method="post" id="edit_form" enctype="multipart/form-data"&gt;
  &lt;textarea name="products_description" wrap="soft" cols="75%" rows="20" id="products_description"&gt;&lt;/textarea&gt;
  </code></pre>
  
  <p>Also after including jQuery I have the following to validate the form:</p>
  
  <pre><code>$(document).ready(function() {
    $('#edit_form').submit(function() {
       if ($('#products_description').val() == '') {
          alert('Please include a product description.');
          return false;
       }
    }); // end submit()
  }); // end ready()
  </code></pre>
  
  <p>I also have a couple of other fields I validate which aren't included for brevity. </p>
  
  <p>My problem is that while all the other fields work fine with that, the text area sometimes doesn't. If I type stuff in it sometimes doesn't recognize it and still pops up the alert. Then if I go back and click (I don't even have to type anything more) and try to submit it works.</p>
  
  <p>Any guesses as to why?</p>