<!DOCTYPE html>
<html>
<head>
<title>jQuery event.pageX and event.pageY property</title>
<script src="jquery-latest.min.js"></script>
<script>
$(document).ready(function(){
$(document).mousemove(function(event){
$("span").text("pageX: " + event.pageX + ", pageY: " + event.pageY);
});
});
</script>
</head>
<body>
<p>Mouse pointer position</p>
<span></span>
</body>
</html>