Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery get element by class and data attribute

$('.slide-link[data-slide="0"]').addClass('active');
 
PREVIOUS NEXT
Tagged: #jquery #element #class #data #attribute
ADD COMMENT
Topic
Name
4+3 =