[Solved] Mouse position with Ajax in PHP [closed]


You can use this code for getting mouse position and posting request:

$("#target").mousemove(function(event) {
  $.post("test.php", {x: event.pageX, y: event.pageY});
});

If you need help with doing something with position in PHP, you can ask me.

solved Mouse position with Ajax in PHP [closed]