theoryofben
IS-IT--Management
Hello all,
I am using a third party combo box control (I'm lazy). And it works great, except that if the control has the initial display style set to 'none', then the box is not populated.
For instance, I have 3 combo boxes for input. They all populate wonderfully. Below that, I have a div with 3 more combo boxes. The div has the display style set to 'none'. IF they click the "more" button, then I set the display property to inline using Javascript. Works beautifully...EXCEPT that the hidden combo boxes are not populated.
Is this the correct behavior for display:none and dynamically populated controls or do I have a problem with my borrowed combo box?
Any help is appreciated.
Thanks
________________________________________________
[sub]"I have not failed. I've just found 10,000 ways that won't work."-Thomas Edison[/sub]
I am using a third party combo box control (I'm lazy). And it works great, except that if the control has the initial display style set to 'none', then the box is not populated.
For instance, I have 3 combo boxes for input. They all populate wonderfully. Below that, I have a div with 3 more combo boxes. The div has the display style set to 'none'. IF they click the "more" button, then I set the display property to inline using Javascript. Works beautifully...EXCEPT that the hidden combo boxes are not populated.
Is this the correct behavior for display:none and dynamically populated controls or do I have a problem with my borrowed combo box?
Any help is appreciated.
Thanks
________________________________________________
[sub]"I have not failed. I've just found 10,000 ways that won't work."-Thomas Edison[/sub]