title: jQuery, Using .remove() , but I would like a confirmation box to appear
body: <p>I am using jQuery's .remove() to get rid of divs of content, but I would like to be able to have a confirmation or dialog box appear before it is removed. I am just not sure of the context of how I would write such a dialog.</p>
  
  <pre><code>$(".remove").click(function () {
    $('div').remove('#item1');
  });
  </code></pre>
  
  <p>Upon clicking the link with class remove I would like a box to popup saying Are you sure you want to remove this? Then click Yes to remove and no to keep it. Thanks in Advance</p>