Hello,
I saw several related questions, but none of them have a working answer.
I have a tabstrip defined like this:
<div data-role="tabstrip" data-selected-index="1">
<a data-icon="home" href="/">Home</a>
<a data-icon="action" href="/ActionManager">Actions</a>
<a data-icon="search" href="/Search">Search</a>
</div>
I'm expecting "Actions" tab to be selected initially. But it is not. "Home" tab is always selected no matter what number I put into data-selected-index. Looks like this attribute is ignored.
Is selectedIndex working in tabStrip?
Is there any other way to select tab from HTML markup?
Thank you,
Alex
I saw several related questions, but none of them have a working answer.
I have a tabstrip defined like this:
<div data-role="tabstrip" data-selected-index="1">
<a data-icon="home" href="/">Home</a>
<a data-icon="action" href="/ActionManager">Actions</a>
<a data-icon="search" href="/Search">Search</a>
</div>
I'm expecting "Actions" tab to be selected initially. But it is not. "Home" tab is always selected no matter what number I put into data-selected-index. Looks like this attribute is ignored.
Is selectedIndex working in tabStrip?
Is there any other way to select tab from HTML markup?
Thank you,
Alex