I need to implement drag and drop for Ipad.
I tried this solution: http://www.gotproject.com/blog/post2.html
But since I am using JQuery myself, it conflicts and does not work.
How can I use JQuery drag and drop for IPad?
I need to implement drag and drop for Ipad.
I tried this solution: http://www.gotproject.com/blog/post2.html
But since I am using JQuery myself, it conflicts and does not work.
How can I use JQuery drag and drop for IPad?
If you aren't using jQuery UI, use the fork I created https://github.com/mikeangstadt/jquery-ui-touch-punch.git to hook up touch handler's using jQuery by firing the already defined mouse events.
Works well on iOS6, haven't tested for Android or others.
Apple has a Section called "Handling Multi-Touch Events" here: https://developer.apple.com/library/content/documentation/EventHandling/Conceptual/EventHandlingiPhoneOS/multitouch_background/multitouch_background.html
It is the official Apple guide on how you can handle almost all of your touch events with the standard controls and gesture recognizers in UIKit.
This looked decent.
http://popdevelop.com/2010/08/touching-the-web/
Working :
Firstly, use jquery UI http://jqueryui.com/demos/ for drag and drop functionality
and then add this script https://github.com/furf/jquery-ui-touch-punch for playing it in Ipad or Iphone.
Hope it helps.
I have worked on a fix to this issue check my github: https://github.com/youryss/fixdragtablet
I hope it works for you
Confirmed that furf's jquery-ui-touch-punch works on the iPad.
Getting it to work is as easy as including "jquery.ui.touch-punch.js" after you've included jquery-ui and jquery itself. For example:
HTML:
Javascript:
Now "item" can be dragged around on screen on the ipad as well as in chrome on the desktop.