将元素动态附加到 jQuery Mobile ListView [英] Dynamically Appending Elements to jQuery Mobile ListView
问题描述
我想将通过 JSOn 格式的 url 接收到的数据动态附加到我的列表视图中.但我不知道它是如何工作的.
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 the following format:
在 .html 中,我有一个列表视图和一个函数,我尝试在其中附加接收到的数据.我只展示身体.
[
{"id":1, "start":"2011-10-29T13:15:00.000+10:00", "end":"2011-10-29T14:15:00.000+10:00", "title":"Meeting"}
]
In the .html i have one listview and a function, where i try to append the received data. I show only the body.