+1  A: 

Putting a comma after the last element of a list or object literal works in FF but is invalid in IE:

myImages: ['image1.jpg', 'image2.jpg', 'image3.jpg', 'image4.jpg', 'image5.jpg', ] //put image names in this bracket. ex: 'harold.jpg', 'maude.jpg', 'etc'

Consequently winnerImage will be undefined in IE, and it will try to load the image at http://www.robwalshonline.com/demos/randomImageDemo/images/undefined

Tgr
how to solve this problem?
metal-gear-solid
Remove the comma after the last element (before the ]).
Jeffery To
@Jeffery To - still not working
metal-gear-solid
There is still a comma after 'tooman.jpg' in http://www.robwalshonline.com/demos/randomImageDemo/js/jquery.robwalsh.randomImageOnload-1.js
Jeffery To