3 Comments
How to drag and drop and replace the position like swapping?
Asked by: SiteManager 1099 views e) Advanced
+2
0
This sample will illustrate How to drag and drop and replace the position like swapping two elements.
For example:
using 10 div at display: 1 , 2 , 3, 4 , 5 …10. and when we drag a div 1, to div 7, and drop it, it will make the replacement between 1 and 7.
after that it will have a series like this: 7 , 2 , 3 , 4 , 5 , 6 , 1, 8, 9, 10 .
