0
나는 http://zsprawl.com/iOS/2012/05/navigation-bar-with-nativecontrols-in-cordova/과 최신 버전의 Cordova 및 Xcode를 사용합니다. 자바 스크립트에서 함수를 찾았습니다. 아래를보세요.link to index.html Javascript/Phonegap
어떻게하면 index.html과 연결할 수 있습니까?
function onLeftNavButton() {
window.location("index.html");
}
window.location("file://www/index.html");
, window.location("file://index.html");
window.location("./index.html")
; 어느 쪽이든 작동하지 않으면 window.loction.href
도 작동하지 않습니다.
내가 alert("123");
일을하면 잘 작동합니다!