Editor Arrow Download Open
<!DOCTYPE html> <html> <head> <title>jQuery mousemove() method</title> <script src="jquery-latest.min.js"></script> <script> $(document).ready(function(){ $(document).mousemove(function(e){ $("span").text("X: " + e.pageX + ", Y: " + e.pageY); }); }); </script> </head> <body> <p>Mouse position: <span></span></p> </body> </html>
  Preview Arrow