In my below code just the first #sort-item is sortable, others not. How can I solve it?
$('#sortable').sortable({
items:"#sort-item"
});
Html;
<ul id="sortable">
<li id="sort-item"></li>
<li id="sort-item"></li>
<li id="sort-item"></li>
<li id="sort-item"></li>
<li id="sort-item"></li>
</ul>
Edit: I try;
$('#sortable').sortable({
items:"> #sort-item"
});
But steal not working
jsFiddle; https://jsfiddle.net/seamqykd/1/