Skip to content

Instantly share code, notes, and snippets.

@cdmz
Created January 26, 2016 17:05
Show Gist options
  • Save cdmz/4fe28a84f8d8c207a8a5 to your computer and use it in GitHub Desktop.
Save cdmz/4fe28a84f8d8c207a8a5 to your computer and use it in GitHub Desktop.
get position mouse javascript
$('html').mousemove(function(e){
console.log("X Axis Position = " + e.pageX + " and Y Axis Position = " + e.pageY);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment