I am trying to use jquery with blackberry widget on a OS6 device. Widget compiler does not seem to recognize .hide() and .show() (css display properties) Is there a workaround to this?
$(document).ready(function(){
$("a").click( function()
{
ShowAPage(this.id)
});
function ShowAPage(pageToShow){
$("div.page").hide();
targetPage = "div#" + pageToShow ;
$(targetPage).show();
}
});