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

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -