Hi, i have 3 combox,but i need that the third combox depend of first an second, in the where i need :
combo (producto) 1: ; Selected 1
combo (marca) 2: WHERE producto_id= 1; Selected 1
combo (others) 2: WHERE producto_id= 1 AND marca_id = 1;
But the combox only send one parent, the last combo how do it ?
Hello,
In this case ground extension can’t be used.
You can set onChange event handler for teh necessary combos. For example :
producto.attachEvent(“onChange”,function(){
marca.clearAll();
marca.loadXML(path1+"?parent="+producto.getActualValue(),refreshOthers);
})
marca.attachEvent(“onChange”,refreshOthers);
function refreshOthers(){
others.clearAll();
others.loadXML(path2+"?parent1="+producto.getActualValue()+"&parent2="+marca.getActualValue());
}
Hi… thanks it`s works… very thanks…!