Suppose I have some javascript that adds a select box, and populates it with options - something like:
So assume I have filled the listbox with elements, and now I want to know how wide it is.
I tried checking $("#" + theid).width(); but that did not work.
Is there another way?
Thanks.