Loading images using jquery and Ajax

Posted by fpz on Stack Overflow See other posts from Stack Overflow or by fpz
Published on 2010-06-10T14:56:59Z Indexed on 2010/06/10 15:02 UTC
Read the original article Hit count: 190

Filed under:
|
|

I have an image tag that fires a jquery function using ajax, when clicked, to download images from another source to the server. At the same time when the image is clicked it opens up a new tab and tries to load the image that is being downloaded. How can I make the link not open until the image is finished downloading to the server?

This is the html

<a target="_blank" href="link_to_full_image" \> <img src="link_to_thumbnail" border=0/></a>

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about html