How to load select options on event?


I refer to your example in form “loading slect options”. It uses connector for loading. But I want to load the options depending on an event. And I want to load only the options, not the full form.

How to do that?

You an use “combo” item type.
You can get dhtmlxCombo object with following code:

var combo = myForm.getCombo(name);

Now you can use any dhtmlxCombo API to manipulate with options, e.g. clearAll(), loadXML()… … _toc_alpha