I have one or more tabs which later from javascript I will substitute to one of tabs. But I don't want to show those tabs by default. Of course I can manage their visibility from code, but then I have to keep states and do all kind of magic. My question is whether there is a way to ask jQM to hide tabs that are not mentioned in navbar?
<div data-role="page" id="settingsPage"> <div data-role="content"> <div data-role="tabs" id="tabs"> <div data-role="navbar"> <ul> <li><a href="#one" class="ui-btn-active">Tab One</a></li> <li><a href="#two">Tab Two</a></li> <li><a href="#three">Tab Three</a></li> </ul> </div> <div id="one" class="ui-body-d ui-content">aaaaaaaaaaaa</div> <div id="two" class="ui-body-d ui-content">bbbbbbbbbbbbb</div> <div id="three" class="ui-body-d ui-content">cccccccccccc</div> <div id="three" class="ui-body-d ui-content">Not supposed to show this now</div> </div> </div> </div>