title: Trying to delete specific checked elements using jquery
body: <p>I can't seem to figure out how to delete an element using jQuery. I'm creating a sample shopping list app and I'm able to add items as needed but I cannot figure out how to remove checked items. What am I missing?</p>
  
  <pre><code> jQuery(document).ready(function() {
  $('.addStuff').on('click', function() {
  var htmlStr = '&lt;div class = "appItem"&gt; &lt;div class = "priority"&gt; Priority: &lt;select&gt; &lt;option value="high"&gt; High&lt;/option&gt; &lt;option value="medium"&gt; Medium&lt;/option&gt; &lt;option value="low"&gt; Low &lt;/option&gt; &lt;/select&gt; &lt;/div&gt; Done: &lt;input type = "checkbox" class = "checkDone" name = "status" value = "done" /&gt; &lt;br/&gt; To do item: &lt;input type ="text" class = "listItem"  name = "item" /&gt; &lt;/div&gt;';
  $(this).closest('#outsideBox').append(htmlStr);
  });
  
  $('.removeStuff').on('click',function(){
  
   var checkedstuff = $(this).closest('#outsideBox').find('.checkDone').is(':checked');
   checkedstuff.hide();
  
  });
  });
  </code></pre>
  
  <p>Here is my HTML:</p>
  
  <pre><code>&lt;html &gt;
  &lt;head&gt;
          &lt;meta http-equiv="Content-Type" content="text/html"; charset="utf-8"/&gt;
          &lt;title&gt; ShopIt &lt;/title&gt;
          &lt;link rel="stylesheet" type = "text/css" href = "shoppapp.css" /&gt;
          &lt;script src="jquery-1.9.1.min.js"&gt;&lt;/script&gt;
          &lt;script src="shopapp.js" type="text/javascript"&gt;&lt;/script&gt;
  
  
  &lt;/head&gt;
  &lt;body&gt;
  
      &lt;h1&gt; Shop It! &lt;/h1&gt;
      &lt;div id = "outsideBox"&gt;
          &lt;div id = "functionButtons"&gt;
          &lt;button class = "addStuff"&gt; Add Item &lt;/button&gt;
          &lt;button class = "removeStuff"&gt; Remove Checked Items &lt;/button&gt;
          &lt;/div&gt;
          &lt;div class = "appItem"&gt;
              &lt;div class = "priority"&gt;
              Priority: &lt;select&gt; 
                  &lt;option value="high"&gt; High&lt;/option&gt;
                  &lt;option value="medium"&gt; Medium&lt;/option&gt;
                  &lt;option value="low"&gt; Low &lt;/option&gt;
              &lt;/select&gt;
              &lt;/div&gt;
  
              Done: &lt;input type = "checkbox" class = "checkDone" name = "status" value = "done" /&gt;&lt;br/&gt;
              To do item: &lt;input type ="text" class = "listItem"  name = "item" /&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;footer&gt;
      &lt;p&gt; Thinful Project, Unit 3 &lt;/p&gt;
  &lt;/footer&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>