Microsoft
Software
Hardware
Network
Question : Javascript Array containing src line of pictures
I am trying to create an array using javascript that will contain the location of pictures. I then want to write a function that will be called by a button to increment a variable and the variable will refer to a position in the array and the img will change to new location stated in the array.
So far I have for the script and button: