Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

HELP NEEDED IN HANDLING ONSELECT EVENT OR ONCHANGE EVENT

I AM DEVELOPING A PLUG IN WHICH ON SELECTION OR CHANGE OF VALUE IN DROP DOWN BOX, ANOTHER DROPBOX OR OTHER INPUT IS NEEDED TO BE DISPLAYED.

I HAVE CREATED A DOJO ATTACHPOINT TO THE DROPBOX.

I TRIED TO CALL THAT USING DOJO LISTENER with EITHER "onselect" or "onchange"EVENT.

THERE IS NO RESPONSE TO EITHER EVENTS.

PLZ HELP ME WITH THAT.

IS THERE ANY OTHER METHOD THAT CAN WORK.

0 votes



One answer

Permanent link
You're referring to the <select> box right? The onchange event should work. We do it like this in our custom widgets:

this.connect(mySelect, "onchange", this._handleOnChange);

and it seems to work fine. I suppose you could also attach the event in your template as well. Can you provide a snippet of how you're doing it ?

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,943

Question asked: Jan 29 '09, 6:09 a.m.

Question was seen: 8,079 times

Last updated: Jan 29 '09, 6:09 a.m.

Confirmation Cancel Confirm