0

我有一个提供 json 的远程服务器,实现显示这些 json 数据的 jquery 移动应用程序的最简单方法是什么?我想要一个关于我应该做什么的大图描述,这样我就可以自己找出细节。

4

1 回答 1

0

If you want to serve the mobile website on your own site, JSON would be enough. If you want to use PhoneGap to make it a mobile app, you should use JSONP to get your data.

You could use a template system were you could drop your JSON data. In combination with $.mobile.changePage($.tmpl( "<li>${Name}</li>", { "Name" : "John Doe" })); a new page can be shown.

于 2012-11-14T07:30:09.563 回答