28-09-2011

jQuery get mouse coordinates using jQuery

This code exemplifies how you quickly retrieve the position of your mouse using jQuery

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

Comments:

Your comment:

»

 

[x]