Skip to content Skip to sidebar Skip to footer

JavaScript - Mousemove Event Not Triggered On IPad/iPhone

I worked for a while on E-learning project, where I had to script an HTML file that's loaded on a global framework. I used to use: $('#myobject').on('mousedown' ... 'mousemove' ...

Solution 1:

Just use jquery.event.move. Move events provide an easy way to set up press-move-release interactions on mouse AND touch devices. So you don't have to worry which device your users have.

Source and examples: http://stephband.info/jquery.event.move/


Post a Comment for "JavaScript - Mousemove Event Not Triggered On IPad/iPhone"