title: jquery .remove not working
body: <p>So I'm trying to port a web site I wrote in php to java. And I can't figure out why my jquery isn't working in java. Here's a trimmed down function that I'm trying to get working. When I click on a button I was it to remove a div. I know my function is being called because of the alert I've put in there but the jquery is not working.</p>
  
  <pre><code>function divClose() 
      { 
          alert('close div'); 
          $("div.flashMessage").remove(); 
  
          $("div.flashMessage").fadeOut("slow", function()
          { 
              alert('close div'); 
              $("div.flashMessage").remove();
          }); 
      }
  </code></pre>