I have the following structure:
<ul class="concepts"> <button type="button" id="add_concept">ADD CONCEPT</button> <p>Container of Concepts</p> <li class="courseConcept"> <p>This is a concept</p> <div class="conceptContent"> <div class="content"> This is content within concept </div> </div> <button type="button">ADD CONTENT</button> </li> </ul>
Output of the above code:
Here, both the
<li>'s should be sortable?
And how can I receive the updated order when I reorder both the sub-list i.e.
<li> and as well as when