我有两页,第一种叫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
更多
如果您有多个问题,请发表两个独立的问题 –
我有编辑 –