Answers for "link"

0

link

$(document).ready(function(){
$('.header_havigation li a').each(function () {
        var location = window.location.href;
        var link = this.href; 
        if(location == link) {
            $(this).addClass('active');
        }
    });
});
Posted by: Guest on August-31-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language