我想使用jquery判断图像是否存在.
例如,如何判断此图像是否存在
http://www.google.com/images/srpr/nav_logo14.png
支票必须给我一个200或ok的状态
--------------edited-------------------
var imgsrc = $(this).attr('src');
var imgcheck = imgsrc.width;
if (imgcheck==0) {
alert("You have a zero size image");
} else { //do rest of code }
Thanks Jean