add listener on element code example
Example: javascript addeventlistener
//with jQuery
$("#id / .class").on('click', function(){
console.log("click");
});
//with jQuery
$("#id / .class").on('click', function(){
console.log("click");
});