Event.clientX/Y and event.pageX/Y

Both gives the position of the user event (onclick event position).
Difference:
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……….!!!

Leave a Reply