Hi Alexandra,
There is a problem in the select control.
Here is my code below:
[i]dhx.ui({ view: "select",id: "id_select",value: "",
options: [{value: "item 1",label: "item1"}, {value: "item 2",label: "item2"}],
on: { "onchange": function(value){alert("you select " + value); }}});[/i]
When it runs the next javescript code, the “onchange” event can’t be triggered.
//disable the select control
$$(‘id_select’).define(‘disabled’, true);
$$(‘id_select’).refresh();
…
//enable the select control
$$(‘id_select’).define(‘disabled’, false);
$$(‘id_select’).refresh();
Can you tell me what's wrong in my code?
Regards
Gainy