I have a page that has bootstrap tabs on it and they are linking to the right content area on that page.
When you are lead away from that page I have the same tabs at the top that I would like to lead them back to the previous page with the right tab open.
This is what my tabs look like on the external page
<ul id="tabs" class="nav nav-tabs" data-tabs="tabs">
<li><a href="page.php#submitted">Submitted</a></li>
<li class="active"><a href="page.php#approved" data-toggle="tab">Approved</a></li>
<li><a href="page.php#rejected">Rejected</a></li>
<li><a href="page.php#uploaded">Uploaded</a></li>
</ul>
As you can see I have tried linking to that page and calling out the id, which goes to the right page, but does not open that tab.
I have also tried messing around with it in jquery, but nothing valid enough to show. Any help would be much appreciated!
edit:
The tabs on the other page look like this. Just basic bootstrap tabbing.
<ul id="tabs" class="nav nav-tabs" data-tabs="tabs">
<li class="active"><a href="#submitted" data-toggle="tab">Submitted</a></li>
<li><a href="#approved" data-toggle="tab">Approved</a></li>
<li><a href="#rejected" data-toggle="tab">Rejected</a></li>
<li><a href="#uploaded" data-toggle="tab">Uploaded</a></li>
</ul>
<div id="my-tab-content" class="tab-content">
<div class="tab-pane active" id="submitted">
</div>
<div class="tab-pane" id="approved">
</div>
<div class="tab-pane" id="rejected">
</div>
<div class="tab-pane" id="uploaded">
</div>
</div>