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
Post a Comment