jquery find all with attribute data code example Example: jquery find by data attribute Click to copy$('.slide-link[data-slide="0"]').addClass('active');