Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试将数据库连接到我的 iphone 应用程序(我正在使用 phonegap 进行编码)。有人会提供连接数据库的示例代码吗?提前致谢!
您可以使用 Ajax 来实现:
$.ajax({ url: "test.html", context: document.body }).done(function() { $( this ).addClass( "done" ); });