Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Populate dropdown with display set to none

Status
Not open for further replies.

theoryofben

IS-IT--Management
Aug 25, 2001
149
US
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]

 
nothing wrong with 3rd party tools. they allow you to focus on more important matters like business process and requirements.

I would check with the 3rd party tool's support first. they will have 1st hand knowledge of how the control works and any known issues which may exist/

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top