I have a container that is a popup over a page and it has many controls one of them is a dropdown, now I would like to make this dropdown load dynamically, for which I need to add an icon next to the dropdown when it is loading.
How can i achieve the same using css specifically using the background property.. Is that the best solution?
Also I need my dropdown width to update once the dropdown content is loaded and the image disappears..
I am struggling to get the image on the page next to the dropdown..
here is a fiddle that I have created: http://jsfiddle.net/jxWCu/1
now I want to have the image horizontally aligned with the dropdown..
The select box and loading image need to be separate entities. Also, I do not suggest using a 320×320 gif. http://jsfiddle.net/jxWCu/11/