Description: The mouse position relative to the top edge of the document.
<!DOCTYPE html>
<html>
<head>
<style>body {background-color: #eef; }
div { padding: 20px; }</style>
<script src="https://code.jquery.com/jquery-latest.js"></script>
</head>
<body>
<div id="log"></div>
<script>$(document).bind('mousemove',function(e){
$("#log").text("e.pageX: " + e.pageX + ", e.pageY: " + e.pageY);
}); </script>
</body>
</html>