Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript addeventlistener

//with jQuery
$("#id / .class").on('click', function(){
	console.log("click");
});
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #javascript #addeventlistener
ADD COMMENT
Topic
Name
4+3 =