jquery human triggered events - event.pageX and event.pageY are undefined -


i have mouseenter event attached element working fine. same event, triggering event manually using jquery.trigger("mouseenter"). calling mouseenter handler. in event object, event.pagex , event.pagey undefined. there way it?

created sample - here

you can use mousemove handler keep track of current mouse position. can pass x , y .trigger() , passed handler.


Comments

Popular posts from this blog

mod rewrite - Using "?" when rewriting the URL -

.htaccess: Transfer name to index.php if not directory public -

Admob integration with pygame in android -