0
Can I write another thing insted of event for examle I want when a person onclicked the function works not every event.
function a(event){ var x = event.clientX; var y = event.clientY; alert(x + "," + y) }
1 Odpowiedź
+ 1
element.addEventListener('click', a);