Answers for "addAndRemoveClassJquery"

0

addAndRemoveClassJquery

$('#menu li a').on('click', function(){
    $('#menu li a.current').removeClass('current');
    $(this).addClass('current');
});
Posted by: Guest on August-17-2021

Code answers related to "addAndRemoveClassJquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language