combo: problem in IE

i’m launching the combo box from deep inside an ajax script function… therefore it says mycombo is not an object, so i can’t use mycombo.getSelectedText(); to retrive the text value of the combo box… i don’t want to submit, just retrive the text value.



problem was solved in FF with get value returns the result, but not in IE! How do I resolve this so that it works in both FF and IE?



Thank you in advance! =)


The combo value can be got by the following approach:


var combo = dhtmlXCombo(…);





var value = combo.getActualValue();