是否知道如何在JQueryMobile中实现load more选项。在我的应用程序中,我需要提取大量数据,并希望通过单击Listview最后一行上的"load more“数据选项来加载前20个数据,并使用户加载更多数据。
发布于 2011-02-24 01:43:15
这应该是可行的:
$('#loadmore-link').click(function() {
// remove the "load more" link
$(this).remove();
// get more LI elements (probably with a $.get())
$('ul').append('<li>More list items</li>');
// update the list view
$('ul').listview('refresh');
});https://stackoverflow.com/questions/5005670
复制相似问题