0

jquery problem I have a carousel slider: 4 elements are visible and 6 are not (simple slide). My problem is this:

Jquery SlideElement.on("click") does not work when elements that are not visible appear. How can I run this?

$(function () {
 const sepeteekle = $('.product-card__addtocart');
  sepeteekle.on('click', function() {
   alert("working working!");
  });
});

You can watch the video: https://streamable.com/e3mx6

Mario Boss
  • 1,784
  • 3
  • 20
  • 43
DCYılmaz
  • 95
  • 7

0 Answers0