When I click on a square element I want to know the exact position of where it was clicked, how do I do that?
Asked
Active
Viewed 39 times
-2
-
You can get the `click` event's `pageX` and `pageY` property – Spectric Aug 24 '22 at 02:43