Get the mouse cursor x and y axis

$(document).ready(function() { $().mousemove(function(e){ $('#XY').html("X Axis : " + e.pageX + " | Y Axis " + e.pageY); });
});

Leave a Reply