1

我已经从 db 检索数据并使用 phonegap 显示在列表中,当我单击后退按钮时,它应该导航到我在 sencha touch 中完成的另一个列表,我该怎么做?

function querySuccess(tx,result){
    $('#Allwordslist').empty();
    $.each(result.rows,function(index){
        var row = result.rows.item(index);

    $('#Allwordslist').append('<li><a href="#"><h3 class="ui-li-heading">'+row['Word']+'</h3><p class="ui-li-desc">'+row['Type_Of_Word']+'</p></a></li>');

    });
    $('#Allwordslist').listview();
}
4

0 回答 0