How to obtain the X and Y coordinates of the mouse by jQuery
Editor to share with you how jQuery obtains the X and Y coordinates of the mouse, I believe most people do not know much about it, so share this article for your reference. I hope you will learn a lot after reading this article. Let's learn about it together.
Get the X and Y coordinates of the mouse $(document) .mousemove (function (e) {$(document) .ready (function () {$(). Mousemove (function (e) {$('# XY'). Html ("Gbin1 X Axis:" + e.pageX + "| Gbin1 Y Axis" + e.pageY);});}); these are all the contents of the article "how to obtain the X and Y coordinates of the mouse by jQuery". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!