Bug? onChange Event not firing

Using your dynamic sample

dhtmlx.com/docs/products/dht … _save.html

for the XML middle one add to the bottom of the javascript

combos[1].attachEvent("onChange", ChangeMe);

function ChangeMe() {
    alert("I have seen the light and have changed my ways");
}

Follow exactly the steps with no extra clicking and key strokes.

Firing

  1. Now go to a new value in one that is not part of the combobox…like 234234
  2. click somewhere on the page
  3. Click on the submit
  4. Change Event fired

Not firing

  1. Now go to a new value in one that is not part of the combobox…like hidoho
  2. click on submit
  3. Change Event didn’t fire

Seems like there is a bug there.

We have not reproduced the problem locally. We have typed a new value in the second combo, clicked submit => event is fired. Then we did the same (typed a new value in the same combo) and event again fired.