Object doesn’t support property or method ‘addEventListener’
That’s because they don’t support addEventListener. See this question’s answers for details. But since you’ve said you’re using jQuery, you can…use jQuery to get around this issue: or actually, we can be a bit more direct: …which works by building a selector string from the array. I just realized I’m assuming the array’s contents vary. … Read more