Dynamically Appending Elements to jQuery Mobile ListView

后端 未结 5 2049
执念已碎
执念已碎 2020-12-15 12:45

I want to dynamically append data received via an url in JSOn format to my listview. But i can\'t figure out how it works.

The mobile website retrieve the object in

5条回答
  •  无人及你
    2020-12-15 13:16

    Please refresh the listview after appeding or removing. Unless you do refresh nothing can be seen.

    $('#listview').append(output).listview('refresh');
    

提交回复
热议问题