Answers for "jquery bootstrap change active tab"

0

how to change active tab jquery

$('#myTab a[href="#profile"]').tab('show')
Posted by: Guest on July-26-2021
0

Make Bootstrap tab Active on the bases of URL link

var url = window.location.href;
var activeTab = url.substring(url.indexOf("#") + 1);
 $(".tab-pane").removeClass("active in");

$("#" + activeTab).addClass("active in");

$('a[href="#'+ activeTab +'"]').tab('show')
Posted by: Guest on June-14-2021

Code answers related to "jquery bootstrap change active tab"

Browse Popular Code Answers by Language