无法切换到 jquery-mobile 页面
Can't switch to jquery-mobile page
正如标题所说,当 "pagetwo" 上显示 data-role="table" 的 table 时,我无法显示我的 "pagetwo"。切换到 "pagetwo" 的唯一方法是从 table 中删除 属性。那么,有人可以帮我显示 "pagetwo" 而不删除 data-role 吗?
<!--Page 1--->
<div data-role="page" id="pageone">
<a href="#pagetwo">Go to Page Two</a>
<form id="postForm" method="post" action="<%= Url.Action("SaveAudit") %>">
<table data-role="table" class="ui-responsive" id="contractList">
</table>
<button type="submit" form="postForm" value="Submit">Submit</button>
</form>
</div>
<!--Page 2--->
<div data-role="page" id="pagetwo">
<a href="#pageone">Go to Page One</a>
<table data-role="table" class="ui-responsive" id="procesList">
</table>
</div>
知道了:
$('#' + curSheet + 'List').table();
成功了
正如标题所说,当 "pagetwo" 上显示 data-role="table" 的 table 时,我无法显示我的 "pagetwo"。切换到 "pagetwo" 的唯一方法是从 table 中删除 属性。那么,有人可以帮我显示 "pagetwo" 而不删除 data-role 吗?
<!--Page 1--->
<div data-role="page" id="pageone">
<a href="#pagetwo">Go to Page Two</a>
<form id="postForm" method="post" action="<%= Url.Action("SaveAudit") %>">
<table data-role="table" class="ui-responsive" id="contractList">
</table>
<button type="submit" form="postForm" value="Submit">Submit</button>
</form>
</div>
<!--Page 2--->
<div data-role="page" id="pagetwo">
<a href="#pageone">Go to Page One</a>
<table data-role="table" class="ui-responsive" id="procesList">
</table>
</div>
知道了:
$('#' + curSheet + 'List').table();
成功了