Hello all,
usually I load a combo with
myCombo.loadXML("something.php");
Depending of the result I want to load a 2nd combo
myCombo.attachEvent("onBlur", function(){
mySelection = myCombo.getActualValue();
var myString = "id="+mySelection;
var loader = dhtmlxAjax.postSync("something2.php",myString);
myCombo2 = myForm.getCombo("2ndCombo");
....
... now load content of loader into 2nd combo ???
....
});
I don’t know how to load the content of the loader into the 2nd combo.
loader.xmlDoc.responseXML should give me the XML but I don’t know how to get it in the combo.
Can you help?
Karl