I am trying to let user sort this kind of markup
-
I believe the following fiddle is what you're after: http://jsfiddle.net/GA4Qs/13/
jQuery sortable needs to be applied to the parent element containing the elements you want to be sorted.
$('#psP').sortable({placeholder: "ui-state-highlight",helper:'clone'});
Also you didn't close your divs in the right place.
1
Not
- 热议问题