bootstrap on tabs change
Language: Bootstrap on Tabs Change
To perform an action when a Bootstrap tab is changed, you can use the shown.bs.tab
event. Here's an example of how to do this:
$('#myTab').on('shown.bs.tab', function (e) {
// Your action here
})
Replace #myTab
with the ID of your tab element, and then add your desired action within the function. This code will execute the specified action whenever a Bootstrap tab is changed.