dhtmlxcombogroup issue

i am implementing dhtmlxcombogroup , I am having problem getting parent variable when i select an item from parentcombobox, sometimes i get the value but sometimes i am getting value as null

below is the code
var z3=new dhtmlXCombo(“combo_zone3”,“alfa5”,200);
z3.enableFilteringMode(true);
//model combobox
var z2=new dhtmlXCombo(“combo_zone2”,“alfa3”,200);
z2.enableFilteringMode(true);
z2.attachChildCombo(z3,"${pageContext.request.contextPath}/stripesMake.action?getDHTMLDerivativeData=&vehicleType="+document.makeForm.vehicleType.value);

	var z=new dhtmlXCombo("combo_zone","alfa2",200);		
  	z.enableFilteringMode(true);
	z.attachChildCombo(z2,"${pageContext.request.contextPath}/stripesMake.action?getDHTMLModelData=&vehicleType="+document.makeForm.vehicleType.value);
	
	z.loadXML("${pageContext.request.contextPath}/stripesMake.action?getDHTMLMakeData=&vehicleType="+document.makeForm.vehicleType.value);

am i implementing it properly, i debugged on the server side, same method is called twice when i select a value, sometimes when the method is called twice on server side, parent variable is null… is this right way

The problem isn’t reproduced locally. You can provide the direct link to the problematic page to recreate the issue.