jQuery sortable drop within itself.

Posted by Janis Peisenieks on Stack Overflow See other posts from Stack Overflow or by Janis Peisenieks
Published on 2011-01-13T11:51:04Z Indexed on 2011/01/13 11:53 UTC
Read the original article Hit count: 274

So my question here is:

Can I place a sortable element within another sortable element of the same level. Example:

<ul class="sortable">
<li class="subsortable">Some text</li>
<li class="subsortable">Some text</li>
</ul>

into:

<ul class="sortable">
<li class="subsortable">Some text<li class="subsortable">Some text</li></li>
</ul>

I've been trying to do this for a day now, and I can't seem to find a way to do this.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-ui