02-27-2012 03:46 PM
I can't figure out how to use menus to go to other webpages. I have the following code:
var item =new blackberry.ui.menu.MenuItem(false,1,"What It Does", clickMe1);
But Ripple complains: "The requested URL /ripple/what.html was not found on this server."
What am I doing wrong??
02-27-2012 06:15 PM
Okay, I found a solution. It's stupid that I have to do this, but I guess that's how the BlackBerry WebWorks universe swings.
var loc = window.location;
window.location = loc.protocol + "//" + loc.host + "/MyApp/what.html";