Mouse cursor X and Y axis value
by Francis[ Edit ] 2012-05-25 18:55:37
<h3>This script will display the x and y value - the coordinate of the mouse pointer.</h3>
<!--script type="text/javascript" src="jquery.js"> </script-->
<script>
$().mousemove(function(e){
//display the x and y axis values inside the P element
$('p').html("X Axis : " + e.pageX + " | Y Axis " + e.pageY);
});
</script>
<p> </p>