Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

New Contributor
Posts: 2
Registered: ‎07-25-2013
My Device: Bold 9900
My Carrier: AT&T
Accepted Solution

Javascript is not working in OS 7

I have an application that uses java script to close the active window.




function my_onload() {

window.open('', '_self', '');window.close();





This script works great on Internet explorer and also on the Blackberry 9700, but when I use it on a blackberry Bold 9900 OS7 the page stays open. It does not appear to see the script. Any suggestions on how to fix this would be greatly appreciated.



Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Javascript is not working in OS 7

Is this the right forum?


I think this one might be more appropriate for your question.