How to get mouse position in jQuery without mouse-events?

I don’t believe there’s a way to query the mouse position, but you can use a mousemove handler that just stores the information away, so you can query the stored information. But almost all code, other than setTimeout code and such, runs in response to an event, and most events provide the mouse position. So your code that needs to know where … Read more