Event.clientX/Y and event.pageX/Y

Both gives the position of the user event (onclick event position).
After scrolling also event.clientx/y has the old value.
After scrolling event.pageX/Y will have the different value.
Thanks for reading this post……….!!!

332 total views, 2 views today

Leave a Reply

Your email address will not be published. Required fields are marked *