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: 3
Registered: ‎03-29-2011
My Device: Bold 9780
My Carrier: Rogers

Javascript in Blackberry 6 Browser

Hello everyone,


I am currently new to development for the blackberry and i have a problem. I am currently developing lotus notes for the blackberry and using javascript on the web side of the form. I am looking for a way to close the browser application using: window.close(); , self.close(); , parent.close(); , System.exit(1);


window.close(); does nothing. According to the API it suppose to close the current page and bring the user to the previous page that is in history.


If i can get that working then my next question would be how would i clear the browser history through javascript.


Any ideas, All the help is greatly appreciated