像这样创建面板时来自 jQuery Mobile 的标准示例:
<div data-role="page">
<div data-role="header">
<h1>Example</h1>
<a href="#main-panel" data-icon="bars" data-iconpos="notext">Navigation</a>
</div>
<div data-role="content">
Your Content
</div>
<div data-role="footer">
Your Footer
</div>
<div data-role="panel" id="main-panel">
Your Panel
</div>
</div>
我可以从 javascript 或差异文件创建面板,以便创建动态内容面板吗?