I am using a Bootstrap Nav-pills with 2 tabs:
<ul class="nav nav-pills nav-fill kt-portlet__space-x" role="tablist">
<li class="nav-item">
<a class="nav-link active" data-toggle="pill" href="#menu11"><span> TAB1</span></a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="pill" href="#menu21"><span>TAB2</span></a>
</li>
</ul>
Within TAB2, I have a button and I would like it to navigate back to TAB1 when clicked. Is this possible?
I attempted the following:
<input type="button" data-toggle="pill" href="#menu11" value="GO TO TAB1">
Although it opens TAB1, the tab is not marked as active (the "active border" remains on TAB2). Furthermore, when returning to Tab2, the functionality is lost. Any suggestions?