Menu
Hi there,
Well – I have just started using ajax, it’s really sweet – I mean, you can do tons of cool stuff just with response.Text… This is what I was wondering though.
Can I use AJAX to tell when an image is loaded? Like – say I have some thumbnails and a div tag that has a larger image – I can easily replace the larger divs background image with whatever I want using javascript, no AJAX needed – however I want to find out if I can figure out when the image is loaded so that first I can display a “loading image” in the div then I can show the actual image after it is transfered from the server.
Thanks