Keep URL unaffected when anchor link is clicked (ok)
https://stackoverflow.com/questions/17012592/keep-url-unaffected-when-anchor-link-is-clicked
2 cái này kết hợp với
$( ".vc_tta-tab a" ).on( "click", function(e) {
e.preventDefault();
$($(this).attr('href')).addClass('vc_active').siblings().removeClass('vc_active');
var hash = this.hash;
$(this).parents('ul.vc_tta-tabs-list').children().removeClass('vc_active');
$(this).parent().addClass('vc_active');
window.location.hash = "";
});
window.location.hash = ""
PreviousjQuery I want to add an active class to the linked ID of an anchor tag style2.track360.xyz (ok)Next[UI SLIDER] Ui slider with text box input (ok)
Last updated