I have a SELECT dropdown that is being updated dynamically through Javascript. However, the width of the dropdown never changes. It is always the width that it starts out as. If I initialize the dropdown with one option that is 25 characters long, the dropdown will stay 25 characters long and if I initialize it with no options at all then it just remains a tiny little dropdown with almost no width at all. There is no CSS that is fixing the width of this. In fact, I've taken all of the CSS out and I'm still getting the same result. I'm getting this in Mozilla.
Any thoughts? This just seems ludicrous... the dropdowns work fine when populated through PHP but with Javascript the browser doesn't seem to know how to resize the dropdown appropriately.
Any thoughts? This just seems ludicrous... the dropdowns work fine when populated through PHP but with Javascript the browser doesn't seem to know how to resize the dropdown appropriately.