I am new to jQuery 1.4.3 and Mobile 1.10 and would like to use the tabs widget. I am wondering how to programmatically make a tab active?
Please see the JSFiddle. If I make the 2nd tab as active, the 2nd tab's content does not show until the 2nd tab is clicked.
<div data-role="page">
<div data-role="tabs">
<div data-role="navbar">
<ul>
<li><a href="#one">one</a>
</li>
<li><a href="#two" class="ui-btn-active">two</a>
</li>
</ul>
</div>
<div class="ui-content" id="one">tab one content</div>
<div class="ui-content" id="two">tab two content</div>
</div>
</div>