title: removing background of specific anchor tag
body: <p>I wrote a code to create a bootstrap panel and add some elements and remove them when clicked on <code>Remove</code> icon. When I click on <code>Remove</code> icon, background of all elements will be removed. I don't want this to happen. I want background of particular element whose <code>Remove</code> icon is clicked to be removed. My Code:  </p>
  
  <pre><code>$(document).ready(function (){
      $(".remove_gly").click(function () {
          //alert('Clicked');
          //var catName = $(span).closest('a').text();
      //  var index = subscriptionArrays.indexOf(catName);
      //  if (index &gt; -1) {
  //subscriptionArrays.splice(index, 1);
      //  }
  
          //span.parentNode.innerHTML = span.innerHTML;
          $("a").closest(".droggIng").removeClass("droggIng"); 
      });
  });  
  </code></pre>
  
  <p>JSFiddle link: <a href="https://jsfiddle.net/kqcs0pq9/8/" rel="nofollow noreferrer">https://jsfiddle.net/kqcs0pq9/8/</a><br>
  How can I do it? </p>