It is fine when the page refreshes or move into the page with data-ajax="false" .
But a page with tab doesn't show correctly when a page is created by a link with data-ajax="true" or pagecontainer("change");
I investigated the reason and found out that ui.tabs checks all anchors if they are local or not by function isLocal( anchor ). But location.href is not updated yet as it is done when the change is completed.
I am new to jquery mobile. Please let me know if I use tab widget incorrectly.
Please check below case. Is there a way to attach files into this issue tracker?
It is fine when the page refreshes or move into the page with data-ajax="false" . But a page with tab doesn't show correctly when a page is created by a link with data-ajax="true" or pagecontainer("change");
I investigated the reason and found out that ui.tabs checks all anchors if they are local or not by function isLocal( anchor ). But location.href is not updated yet as it is done when the change is completed.
I am new to jquery mobile. Please let me know if I use tab widget incorrectly.
Please check below case. Is there a way to attach files into this issue tracker?
index.html
tab.html