How comboObject.getValue() in frame created by attachURL

I can get the comboObject into an frame created by attachURL in a window object…

How can I do it?

Hello
First of all there is no such combo method getValue()
If you need to get actual value - use getActualValue() method
If you need to get combo text - use getComboText() method

[code]function doOnLoad() {
dhxLayout = new dhtmlXLayoutObject(‘parentId’,“2E”);
dhxLayout.cells(“a”).attachURL(‘combo_color_options.html’);
dhxLayout.cells(“b”).attachObject(‘btn’);

	dhxLayout.attachEvent("onContentLoaded",function(id){
		if(id == "a"){
			ifr = dhxLayout.cells("a").getFrame();
			combo = ifr.contentWindow.combo;
		}
	})
}
function getComboValueFunction(){
	console.log(combo.getComboText(), combo.getActualValue())
}[/code]