jQuery('.slick-track').each(function(i) { jQuery(this).find('.slick-slide img').each(function() { jQuery(this).attr('data-fancybox', 'gallery'+i); }); i+1; });
Jagdish Sarma Asked question October 29, 2021
jQuery('.slick-track').each(function(i) { jQuery(this).find('.slick-slide img').each(function() { jQuery(this).attr('data-fancybox', 'gallery'+i); }); i+1; });