Skip to main content

How to add a "onClick" event to dojo.combobox

2 replies [Last post]
Joined: 2008-04-07

Hi :

I have two combobox on a page.
The items of one combobox will be filtered by the other combobox's selected value.
So i need to change the items dynamically.
I need to add a "onClick" event to a dojo.combobox.
How can i do it?
I need help.

Message was edited by: yummychen

Message was edited by: yummychen

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-07-31

Hi YummyChen,

This blog entry by Jennifer covers this topic in detail. Find it here:

Let us know if there are any parts that don't work.


Joined: 2005-02-10

Looks like we're not getting a call back from _selectOption in the combobox. I was looking at this today and the wrapper is not getting notification that a new item has been selected. I see that for the spinner you over wrote a function and so you get the notification but you also handle updating the widget.