I call jquery function onclick at links. For example:
Content 1
This should help
$("a").on("click", function(e){ e.preventDefault(); $(this).addClass("active"); $(this).siblings().removeClass("active"); });