I\'m using Twitter Bootstrap and its \"tabs\".
I have the following code:
I understood that OP said using JQuery but you can simply use vanilla JS to do that:
document.querySelectorAll('ul.nav a.nav-link').forEach(link => { link.onclick = () => window.history.pushState(null, null, link.attributes.href.value); });