Here is the structure of my code:
HTML :
<div class="content">
box 1 (Customer)
<ol class='example limited_drop_targets default vertical'>
<li>Valentino Rossi<ol></ol></li>
<li>David Beckham<ol></ol></li>
<li>Eden Hazard<ol></ol></li>
</ol>
</div>
<div class="content">
box 2 (Room Type)
<ol class='example limited_drop_targets default vertical'>
<li>Single Room<ol></ol></li>
<li>Double Room<ol></ol></li>
<li>Family Room<ol></ol></li>
</ol>
</div>
Javascript :
$(function () {
$("ol.example").sortable();
});
To see the full code and demo, visit: https://jsfiddle.net/oscar11/x0q81hfq/
The source of this code can be found here:
I am facing an issue where dragging/dropping elements from box 1 to box 2 is not functioning as expected. I checked the documentation but couldn't find a solution.
Can anyone provide guidance on how to achieve dragging/dropping elements between box 1 and box 2 using jquery sortable?
Thank you for your help!