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

Web and WebWorks Development

New Developer
Posts: 1
Registered: ‎04-21-2009
My Device: Not Specified

JavaScript onClick in a <select> Tag

I'm designing a small (literally and figuratively) site that will solely be displayed on the Bold 9000.  I have the following code:

function clickToday() {
document.getElementById("notes").appendChild(document.createTextNode("blah blah"));


<select name="opt1" id="opt1" onChange="selectToday()" onClick="clickToday()">



The selectToday function is identical except for the created text string.  The onClick and onSelect functions fine in Firefox but only the onSelect functions work on the Bold's internet browser.  I've tried removing the onSelect and leaving only the onClick but that didn't work either.  Does anyone know if the Bold's browser supports onClick inside of a select tag?  I checked RIM's JavaScript reference and it doesn't mention it specifically.


Tested on my BB 9000 at .247 and the 9000 simulator.