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. |
One answer
![]()
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 ? |
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.