how to detect clicks with javascript

Solutions on MaxInterview for how to detect clicks with javascript by the best coders in the world

showing results for - "how to detect clicks with javascript"
Kamelia
31 Feb 2018
1element.addEventListener('click', function () {
2	alert('Clicked!')
3});