157
rated 0 times
[
163]
[
6]
/ answers: 1 / hits: 21043
/ 13 Years ago, wed, january 18, 2012, 12:00:00
I am trying to dynamically change a picture when I click on it, via the addEventListener. I have the pictures in the documents.images array. I already have a function written to switch the images. The problem I am having is binding this in the event that I click on an image.
This is what I tried
document.images[i]src.addEventListener(click, MakeMove, false);
More From » events