With the following CSS:
.ui-autocomplete-loading {
background: url('/icons/loading.gif') no-repeat right center;
}
When loading is first used the loading gif is downloaded, and I think it takes too long and therefore does not show the first time it is used. It is there for subsequent usages.
How do I ensure the gif is already downloaded (Note the loading.gif
is 2kb)