Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
11-24-2012 02:02 PM
Well, I tried to do this in my function
It doesn't work, I get Uncaught ReferenceError: element is not defined
How to do that?
11-25-2012 11:15 AM
I am not sure, I just see that in Ripple console...
I call it from an external function.
I do like this
The main menu loads a "please wait" page, the I do my data loading (around 3 seconds), and then I want to call the results page.
11-27-2012 12:37 PM
11-27-2012 12:44 PM
Also, are you initializing bbUI.js before trying to push?
try following this example: https://github.com/blackberry/bbUI.js/wiki/Toolkit
11-27-2012 02:45 PM
I explain better what I do
index.htm initializes bbui.js and loads the page with
load.htm is loaded and displayed
at the end of the screen div there is this js:
console.log("i will run my function");
console.log("i ran my function");
As expected, console displays both lines.
myfunction is loaded
localStorage.setItem.... (my stuff)
console.log("i try to push the page");
I get all the console lines except pushed, and the page is not pushed.
I guess because I am pushing the screen in the wrong way