6 Replies Latest reply on Apr 7, 2007 1:29 PM by kglad

    Problems with addEventListener

    NTamas
      Hi!

      I wanted to write a simple boardgame, so i needed 256 empty cells. I used a for loop to produce them.
      Then i tryed an eventHandler in the loop which worked good only for the last element (256).
      Good means: i have to return the id of the element which i clicked.

      So i tried another solution: addEventListener which also seems to not work :(
      Where is the problem???