正如标题所说,我无法展示我的" pagetwo"当一个表格有data-role =" table"已经在" pagetwo"上显示。切换到" pagetwo"的唯一方法是通过删除表中的属性。所以可以请某人帮我展示" pagetwo"没有删除数据角色?
<!--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>
答案 0 :(得分:0)
知道了:
$('#' + curSheet + 'List').table();
诀窍