2013-11-28 2 views
-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(); 
       });** 

답변

0

당신은에 data-defer 속성을 사용할 수 있습니다

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

</div> 

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

+0

이 지역의 HTML 페이지에 노력하고 있습니다 : 패널은 HTML 파일을로드합니다. 시도했지만 오류가 발생합니다. 나는 그것이 file : //로 작동하지 않는다고 생각하고 phonegap app에서 file : //처럼 실행한다. 이것으로 도와주세요. 감사. –

관련 문제