[jQuery] Re: need a hand with it, show/hide stuff

2009-07-01 Thread Charlie
online loading gif generator for your image, multiple styles , set your own colors http://www.ajaxload.info/ Liam Potter wrote: on the function that initiates the ajax call, insert the spinning gif image. $("div").append(''); and on the success callback on the ajax function, rem

[jQuery] Re: need a hand with it, show/hide stuff

2009-07-01 Thread Liam Potter
on the function that initiates the ajax call, insert the spinning gif image. $("div").append('alt="Loading..." class="loading" />'); and on the success callback on the ajax function, remove the image $("div img.loading").remove(); How you add and remove the image is up to you, but this is th