Hello. I'm having problems with the following code:
var img = []; //.... var o = this.find('img'); o.attr('src', img[n][0]).attr('alt', img[n][1]); The error I get is: o.attr("src", img[n][0]).attr is not a function What am I doing wrong? Many thanks in advance!