从一个页面导航到另一个页面的选项

options to navigate from one page to another

本文关键字:另一个 选项 导航 一个      更新时间:2024-02-20

嗨,我想在没有ajax的情况下从一个页面导航到另一个页面。使用ajax,我们可以使用$.mobile.changePage('test.html'),但我的目标是blackberry5+版本。除了CCD_ 2和CCD_。任何建议都将不胜感激。

try:

window.location.href="test.html";或:

window.location.assign("test.html");window.location.replacement("test.html");

不确定我是否理解,但onclick="setLocation('newurl.html');"是另一种方法吗?