Looking for code for draggable html box/div | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Looking for code for draggable html box/div

although we got to learn how to make a Draggable content / object how do I make them switch if I have 2 boxes with each having 2 div inside them

5th Apr 2018, 2:19 AM
Nishant Vispute
Nishant Vispute - avatar
2 Answers
0
use like this: <div draggable="true">Content Here</div>
8th Apr 2018, 4:29 AM
anish
anish - avatar
0
using this I could make the div's Draggable.. however what I am unable to achieve is if I have 2 such div's and each one of them have 1 Image within them.. how do I make the images interchange without using a 3rd div..
9th Apr 2018, 6:47 AM
Nishant Vispute
Nishant Vispute - avatar