jquery e.pageX - Kvcodes
X

Congrats, You are Subscribed to Receive Updates.

How to Get Exact Top Left Position of a Mouse Pointer Location Using jQuery

With help of jQuery we can find the location of a cursor  and mouse pointer location. But its not working all the place, if your container or the Division is responsive and changing its windows size based on screen resolution, It may return wrong positions.  Here is the example for existing method. $(document).ready(function(){ $(document).click(function(e){ alert("Left : " + e.pageX + " Top : " + ...

Menu

Sidebar

Subscribe E-mail Updates

Congrats, You are Subscribed to Receive Updates.

Advertisement

Category Posts