1

I was trying to run this with jquery-3.3.1.slim.min.js

$("li").click(function(){
  $(this).toggleClass("click"); });             
$("span").click(function(event){
  $(this).parent().fadeOut("slow", function(){
    $(this).remove();
  });
  event.stopPropagation();
});

but it did not work with this version but when i tried to use jquery-3.3.1.min.js it worked correctly
so is the problem in my code or in jquery ?

CertainPerformance
  • 356,069
  • 52
  • 309
  • 320

0 Answers0