<div id='t1' style="position:absolute;"></div>
<script> $(document).ready(function() { $(document).mousemove(function(){ $("#t1").html('You clicked at X position: '+event.pageX + " , Y position: "+event.pageY); }); }) </script>