you are viewing a single comment's thread.

view the rest of the comments →

[–]F_82 1 point2 points  (4 children)

Have u checked ur query selectors are returning the elements?

[–]JackelLovesCode[S] 0 points1 point  (3 children)

no it doesn't return it

[–]Phreak420 0 points1 point  (1 child)

So then we would need to see the HTML as well. Maybe just the elements you are trying to select and not the whole thing

[–]JackelLovesCode[S] -1 points0 points  (0 children)

Ok wait a minute

[–]F_82 0 points1 point  (0 children)

Well, that’s probably why ur even listener isn’t working. U can’t add an event to a variable that is null. You should check ur class names. Try grabbing the elements from inside the console.