Dynamically Appending Elements to jQuery Mobile ListView

后端 未结 5 2042
执念已碎
执念已碎 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:15

    If you're trying to recreate a listview then you'll need to .trigger(create) and .listview(refresh) the list. The issue is explained at http://liljosh.com/jquery-mobile-dynamicly-appending-to-listview-via-ajax-issue/

提交回复
热议问题