我有兩頁,第一種叫index.html
並有一個登錄按鈕與此代碼更改頁面conexion.html
:問題URL jQuery Mobile的按鈕首頁
$('#page').live('pagecreate',function(event){
$("#login").bind("click", function(event) {
$.mobile.changePage("conexion.html",{ transition: "flip"});
});
});
的URL更改
在 「connexion.html」http://localhost/mobile/olapromo/#/mobile/olapromo/conexion.html
我回電話 「的index.html」,此代碼:
<a href="index.html" data-icon="home" data-iconpos="notext" class="ui-btn-right jqm- home">Home</a>
,當我的主屏幕按鈕點擊URL變化
http://localhost/mobile/olapromo/#/mobile/olapromo/index.html
,我無法訪問conexion.html
更多
如果您有多個問題,請發表兩個獨立的問題 –
我有編輯 –