2012-07-26 136 views
1

嗨我想从一个页面导航到另一个页面而不需要Ajax。用ajax我们可以使用$.mobile.changePage('test.html')但我的目标是blackberry5 +版本。还有其他选项可用,而不是window.location<a href="test.html">。任何建议将不胜感激。从一个页面导航到另一个页面的选项

+1

我在这里详细回答http://stackoverflow.com/questions/11663279/window-location-not-work-properly – 2012-07-26 09:15:06

+0

@Coder_sLaY感谢您的详细回复。让我检查一下,我会回来的。再一次谢谢你。 – PPD 2012-07-26 09:18:13

回答

0

不知道我明白,但onclick =“setLocation('newurl.html');”是另一种方法?

1

尝试:

window.location.href =“test.html”; OR:

window.location.assign(“test.html”); window.location.replace(“test.html”);

相关问题