I have an EventListener that references an Id and it works well, the only problem is that i have at least a dozen places where this EventListener needs to reference so i don
you can assign a class to each of these elements and use a for loop to iterate through and place a eventListener.
var elements = document.querySelectorAll('.className');
for (i = 0; i < elements.length; ++i) {
elements[i].addEventListener('click', function() {
// Do something amazing
});
}
via: http://pencilscoop.com/2014/06/using-eventlisteners-on-multiple-elements
or you could just add onclick to your elements individually
Chart