addeventlistener with javascript 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");
});