Hi,

How to abort an Image request which is still on the fly?

Example:

var img = new Image();
var img.src = "http://www.google.co.in/images/nav_logo29.png";;
window.setTimeout(function(){
*     //Code to abort/cancel image request if it hasn't triggered onload or
onerror even after 20 seconds of sending request.*
},20000)

-Regards
*Amit Agarwal <http:///www.amitagrwal.com>*
+91-779-822-8765

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/jsmentors@jsmentors.com/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/jsmentors@googlegroups.com/

To unsubscribe from this group, send email to
jsmentors+unsubscr...@googlegroups.com

Reply via email to