Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery find by data attribute

$('.slide-link[data-slide="0"]').addClass('active');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #find #data #attribute
ADD COMMENT
Topic
Name
6+8 =