开发者

jQuery sortable drop within itself

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开发者_JAVA百科't seem to find a way to do this.


Found the answer myself. The solution here is to create a sortable list, the inner sortable list placeholder and then connecting the two. If anyone needs, I can provide some code examples.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜