I want to drag some elements and drop it in some other containers. The following example works for objects that are both draggable and droppable
But when I try to make some of them draggable and others only droppable it doesn't work
I know how to use jQueryUI to do this, but I want to do the same using pure HTML5.
Looking at Mozilla's HTML docs I found that I need to handle the dragover
event. The complete solution can be viewed at:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.