Hello, how can i remove an event already asigned to a dhtmlxCombo?
Im in the need of removing the onchange event because i need to reset the combo values at certain point, but if i dont remove the onchange event it fires up when i dont need it to do that.
How can i remove the event from the object?
I tried using combo.detachEvent(“onChange”); but it didnt worked.
Thanks.
PS.
I attached the event in this way:
combo.attachEvent(‘onChange’, my_function);
When event attached, code return event’s ID
var id = combo.attachEvent(“onChange”,some)
This id can be used to detach the same event later
combo.detachEvent(id)
dhtmlx.com/docs/products/dht … codeevents