-1
  Its javascript function working perfectly in android ,but its not working in iphone using phonegap package.actually i need the panel to load the html file using jqmobi framework and i was to package it in phonegap,the above code is works on android but its not working in iphone and some time it wont works in android propely(sidemenu bar not showing but page loads currectly). 

如果有人知道答案,请帮助我......

  **$(document).on("loadpanel","#cart",function(event){
                $("#cart").load("cart.html"); 
                event.preventDefault();
              });**
4

1 回答 1

0

您可以使用data-defer面板中的属性来加载 html 文件:

<div id="page" title="Cart" class="panel" data-defer="cart.html">

</div>

http://app-framework-software.intel.com/documentation.php#afui/afui_panels

于 2013-12-11T00:14:37.730 回答