loadXML fix in Internet Explorer

Hello.

Method combo.loadXML not working in Internet Explorer.

I made a function in jquery to solve this problem.

do not need to re-create the object, just pass as parameter in function.

function loadXMLCross(url,param,object){
	object.clearAll(true);
	$.ajax({
		url: url,
		dataType: "xml",
		data : param,			
		success :function( xml ){
			var values;
			var arrOptions = [];	
			var selected = "";			
			$(xml).find("option").each(function(){
				arrOptions.push([$(this).attr("value"),$(this).text()]);
				if($(this).attr("selected")){ selected = $(this).attr("value"); }
			});								
			object.addOption(arrOptions);
			if(selected != "" || selected != null){ object.setComboValue(selected); }
		}
	});	
}

Open to suggestions.

Thanks.

Hello
Locally it works fine. Plus use any local server to load it.

Examples :

objCombo = new dhtmlXCombo("comboTest", "comboTest", 200);

loadXMLCross("urlXML.xml","id=1&type=2", objCombo);

Thanks

The second sample - combo loads from XML without any issues:
dhtmlx.com/docs/products/dht … ilter.html