简体   繁体   English

黑莓浏览器中的Window.Opener

[英]Window.Opener in Blackberry Browser

It seems the blackberry browser(5.0) doesn't seem to like javascript window.opener function. 似乎黑莓浏览器(5.0)似乎不喜欢javascript window.opener函数。 Google didn't help much. Google并没有太大帮助。

We have an existing website , which fills the parent window form fields with data from the child window. 我们有一个现有的网站,该网站使用子窗口中的数据填充父窗口的表单字段。 We are trying to mimic the same functionality in our Blackberry website. 我们正在尝试模仿我们的Blackberry网站中的相同功能。 But, the window.opener function returns null in blackberry browser 但是,window.opener函数在黑莓浏览器中返回null

I have the following questions 我有以下问题

1) Is it a known issue? 1)这是一个已知问题吗?

2) If it is a known issue , is it an issue on all the OS versions of Blackberry ? 2)如果是已知问题,是否在所有OS版本的Blackberry上都存在问题?

3) If BB doesn't support window.opener , what are other options to pass data from child window to parent window? 3)如果BB不支持window.opener,还有什么其他选项可以将数据从子窗口传递到父窗口?

Thanks for your help in advance. 感谢您的帮助。

The browser in BB OS5.0 has poor support for javascript so that might be the reason for it failing. BB OS5.0中的浏览器对javascript的支持不佳,因此可能是失败的原因。 Try to load the same feature in BB OS 6.0. 尝试在BB OS 6.0中加载相同的功能。 The device simulators should give you a good impression of how it will load on an actual device. 设备模拟器应该给您一个很好的印象,它将如何在实际设备上加载。

Please clarify whether you are referring to a mobile website or a mobile app made with html, css & javascript (PhoneGap or WebWorks) 请说明您是指移动网站还是使用html,css和javascript(PhoneGap或WebWorks)制作的移动应用

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM