Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Adrian on Apr 14, 2008 15:56
open dhtmlx forum
2 dhtmlxCombos: one over another

HI, i've been testing your combos and i must say they work great!

But i have encountered an issue i dont know why its happening...

I have 2 divs, one over the another,

lets say:

<div id="div1"/>
<div id="div2"/>

now i want to put a combo on each one.

var combo1= new dhtmlXCombo("div1","combo1",150);
        combo1.addOption(
            ["MTY","MONTERREY, NL"],
            ["DF","MEXICO, DF"]
        );

var combo2= new dhtmlXCombo("div2","combo2",150);
        combo2.addOption(
            ["MTY","MONTERREY, NL"],
            ["DF","MEXICO, DF"]
        );

Now, after doing this, i've encountered 1 problem:
- If i click on the combo1that is 10px over the second combo, in different divs, the list of combo1 shows BEHIND the div2, and i dont have any zindex or any option like that in css.

Can you please help me with this?

Thanks!
Adrian
Answer posted by Support on Apr 15, 2008 03:13
The problem was not reconstructed locally.

Please, provide any sample to reconstruct it ( to support@dhtmlx.com ).