JS Error TypeError
I get this error in firefox, version 21, and this is a image gallery, images are from google+ api, in Firefox I get this error message:
TypeError: currentthumb[0] is undefined
And in Chrome:
Uncaught TypeError: Cannot set property 'src' of undefined
On this line I have this code
currentthumb[0].src = seed2 + "s150-c/";
I can't fix this error, is this a array by variable or something others? Can this problem be the reason that I can't see images in the gallery on ie?
I get this error in firefox, version 21, and this is a image gallery, images are from google+ api, in Firefox I get this error message:
TypeError: currentthumb[0] is undefined
And in Chrome:
Uncaught TypeError: Cannot set property 'src' of undefined
On this line I have this code
currentthumb[0].src = seed2 + "s150-c/";
I can't fix this error, is this a array by variable or something others? Can this problem be the reason that I can't see images in the gallery on ie?
No comments:
Post a Comment