> From: Duncan
> 
> But the following doesnt seem to work, how can I sort this out?
> 
> for(var i = 0; i < r.length; i++){
>               //alert(r[i][0])
>               $(r[i][0] + ' > img').attr("src",r[i][1]); }
> 
> r[i][0] has the id in it, r[i][1] has the image URL.

So you are passing a selector string like this to $():

$( '60667C7C > img' )...

Do you see the problem now?

-Mike

Reply via email to