简体   繁体   English

jQuery拖放问题

[英]Jquery Drag and Drop Issues

I am having a problem with bringing Jquery over to iPad. 我在将Jquery带到iPad时遇到问题。 I made a drag and drop puzzle using Jquery, and on my computer it works fine. 我使用Jquery制作了一个拖放难题,并且在我的计算机上工作正常。 When I try to move that over to the iPad, the drag and drop functions cease to work. 当我尝试将其移至iPad时,拖放功能将停止工作。 I have tried many a third party fix for this problem with no avail. 我已经尝试了许多第三方修复程序来解决此问题,但无济于事。 Does anyone know how to solve this problem on iOS5? 有谁知道如何在iOS5上解决此问题? Or is there a better way to code it in HTML5 that works or a Jquery solution I do not know of? 还是有更好的方法在HTML5中有效地编码它,或者是我不知道的Jquery解决方案? Any tutorials on the issue would be appreciated as well. 任何有关此问题的教程也将不胜感激。 Thanks. 谢谢。

Use jQuery Mobile instead, and make sure you use .preventDefault() as mentioned in this post: 请改用jQuery Mobile,并确保使用此帖子中提到的.preventDefault()

jquery mobile drag and drop jQuery移动拖放

See also: https://stackoverflow.com/a/4488662/362536 另请参阅: https : //stackoverflow.com/a/4488662/362536

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM