clientX and clientY Click Coordinate Demo

Click in different locations on this page. The coordinate display updates with the horizontal and vertical viewport position of each click.

Click anywhere in the demo area.
**

Return to clientX and clientY tutorial