addeventlistener javascript where w can use it 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");
});