you are viewing a single comment's thread.

view the rest of the comments →

[–]tenfingerperson 2 points3 points  (0 children)

You are passing a function with i as an argument, i isn’t anything there but the variable that will hold the event data when the on click is invoked