Assigning events to elements with same class name

[quote=“Ethannn, post:5, topic:203983, full:true”]
I got a lot of them…[/quote]

Even better then. When you have a lot of elements to deal with, having one event listener is much more efficient than using thousands of event listeners.