0
我怎样才能在拔出对象的数据,并动态地将它们添加到列表视图动态添加项目到列表视图(jQuery Mobile的)
function(){
var person = {
title: "ddd",
mes: "sss",
op: {},
tel: 2
};
}
数据将会从JSON服务器来
<div data-role="page" id="page1">
<div data-role="header">
<h1>Заголовок</h1>
</div>
<ul data-inset="true" id="ideaposits" data-role="listview" data-split-icon="gear">
<script type="text/html" id="list">
<li>
<a class="ui-btn ui-icon-carat-r " href="#page2">
<h2 class="title"></h2>
<p class="mes"></p>
</a>
</li>
</script>
</ul>
</div>
,并移动到第二个屏幕第2页........
的第一个元素保持为空如何删除空白项目? ,因为它开始于第二个元素的加入 –
不要做..... – TheWandererr