I did a small javascript program for BlackBerry OS 5, using jQuery. Unfortunately, when trying in actual device, those functions are not executed:
$(".colorboard").css("background-color","#FF0000");
$(id).unbind('click');
$(id).bind('click', function(event){ alert("hello!")});
$(id).html(mytext);
Why it does not work? There are alternatives that will work on BB OS 5? I tried zepto.js but no luck.