How to load select options on event?

Hi,

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()…
docs.dhtmlx.com/doku.php?id=dhtm … _toc_alpha