Sorry, der zweite Code ist natèrlich so (Abfrage aller Imgs, geht leider ohne Angabe der Class nicht):
function checkImgs() {
img = new Array();
$('img').each(
function(i) {
img[i] = this;
$.ajax({
type: 'GET',
url: img[i].src,
error: function(msg) {
img[i].src = '/nichtgefunden.gif';
}
});
}
);
}
Gruss und Thx