JS library (with drag n drop) compatible with iOS and regular browsers

Does anyone know of a JS framework that has drag and drop functionality and is compatible with mobile (iOS) and regular browsers?

I currently have a web-based app and it is a hassle to make its drag'n'drop functionality work on iOS... I wish there was one that would do it for both...


Solution 1:

Here's two built in jQuery:

http://www.stevefenton.co.uk/cmsfiles/assets/File/mobiledragdrop.html

http://code.google.com/p/jquery-ui-for-ipad-and-iphone/

There is also the jquery mobile framework (which does not have drag and drop nativly): http://jquerymobile.com/

Solution 2:

I'm a big fan of Sencha Touch.

Here's there drag and drop demo - http://dev.sencha.com/deploy/touch/examples/dragdrop/.

Note: Tested on my iPhone 4 in Safari.

Solution 3:

JQuery Mobile is trying to support a large variety of platforms

And here is a specific plugins for Drag and Drop

Solution 4:

Try dojo. It works pretty well and it is a relatively mature toolkit. http://dojotoolkit.org/