Drag and Drop on iPad

I have a webpage with jQuery drag and drop function. It works on all desktop browsers, but not on the iPad. One way or another, the event click + dragis fixed to move the page up and down.

So, how is drag and drop typically done on the iPad without writing any iPad apps?

+4
source share
1 answer

You cannot use mouse events ... you need to change to touch events

http://ross.posterous.com/2008/08/19/iphone-touch-events-in-javascript/

One way is to separate both codes using a mobile platform like jQTouch, jQMobile, etc.

, jQTouch


jQuery UI Sortable iPad

http://jsbin.com/ujeyac/19/

jQuery UI Touch Events code, !

+5

All Articles