我正在用PhoneGap編寫我的第一個跨平臺移動應用程序。在iPhone PhoneGap上使用JQuery Mobile的問題
在PhoneGap的網站中,我發現JQuery Mobile是PhoneGap中用戶界面最有用的。然後我找到了一些JQuery教程(http://devgrow.com/mobile-web-dev-using-jquery-mobile)。他們在Web瀏覽器中沒問題,但是當我在iPhone模擬器上啓動它時,JQuery不起作用。
爲什麼?我怎麼解決這個問題。
UPD:我用
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a1/jquery.mobile-1.0a1.min.css" />
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.3.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/mobile/1.0a1/jquery.mobile-1.0a1.min.js"></script>
像教程
是U打開它在瀏覽器中?或在應用程序? – ghostCoder 2012-02-24 11:06:24
@ghostCoder - 瀏覽器和應用程序 – 2012-02-24 11:25:30