devxlogo

Find Mouse Coordinates with Javascript

Find Mouse Coordinates with Javascript

Using window.event.clientX and window.event.clientY gives you the X and Y coordinates of the mouse position:

devx-admin

Share the Post: