Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- imgArray[1] = new Image();
- imgArray[1].src = "WhitePicture1.gif"; //this works
- ...
- function displayPicture(int)
- var image = document.getElementById('ImageNumber[int]'); //this doesn't work
- var image = document.getElementById('ImageNumber' + int); //this doesn't work
- image.src = imgArrayS[int] //doesn't work
- var thefile = "imgArray" + int + ".gif"
- image.src = thefile; //doesn't work
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement