Answers for "click on list item javascript highlight"

0

click on list item javascript highlight

$(".nav-sidebar").on('click', 'li', function(e) {
    $(this).parent().find('li.active').removeClass('active');
    $(this).addClass('active');
});
Posted by: Guest on April-22-2021

Code answers related to "click on list item javascript highlight"

Code answers related to "Javascript"

Browse Popular Code Answers by Language