Event.clientX/Y and event.pageX/Y

(Last Updated On: [post_updated])
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……….!!!

156 total views, 0 views today

Leave a Reply

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