title: Hide div with close button jquery only with associated div
body: <p>This is what I am trying to do, close the notification bar if the x inside it is clicked.</p>
  
  <p>Here is my code: <a href="http://jsfiddle.net/spadez/qK3yK/2/" rel="nofollow">http://jsfiddle.net/spadez/qK3yK/2/</a></p>
  
  <pre><code>    $('#closeButton').on('click', function(e) { 
          $('#previewBox').remove(); 
      });
  </code></pre>
  
  <p>How can I make it so it only closes the warning with which it is associated with, instead of removing all of them though. I'm sure the word "this" is needed in the code, but I can't understand where.</p>