黑莓的html查询字符串

时间:2015-06-16 08:44:00

标签: javascript html5 cordova

我的混合移动应用程序也需要在黑莓设备上运行。

我注意到一个简单的html查询字符串,例如

  1. http://example.com/over/there?name=ferret
  2. 也可以这种方式使用锚标记(即使它不是标准的)

    1. http://example.com/over/there#name=ferret
    2. 使用Android和iOS。

      我没有黑莓尝试,但我需要知道是否使用bb第二种方法(使用哈希)是否有效。

      问题:

      使用黑莓和javascript,将在下面的说明 将页面更改为示例?

      location.href('http://example.com/over/there#name=ferret');

      请我需要经验回答

      由于

1 个答案:

答案 0 :(得分:0)

是的它确实有效,我尝试使用bb设备(在同一网络上)在我的localhost中使用2个html页面。