How to go to a specific tab with Jquery, framework7?

0

Good morning. I have the following html structure of tabs in a view "inicio.html"

<div id="tab-1" class="tab active">
</div>
<div id="tab-2" class="tab">
</div>
<div id="formaentregaPedido" class="tab">
</div>

To move from tab to tab I use the following function: Example:

myApp.showTab("#tab-2", true);

But when I change the screen "otrapantalla.html" and then return to "inicio.html" , I want to be able to start directly in the tab with id="formaentregaPedido"

How could I do this.

Thank you very much.

    
asked by JG_GJ 13.11.2018 в 17:12
source

0 answers