How do you trigger a jQuery UI sortable event with out the user dragging and/or dropping an item?
Here is an example on jsFiddle.
When you click the button any "selected" items in "List A" will be moved to "List B". However no sortable event is triggered.
Assuming I understand your question correctly, what I would do is create a method that gets called whenever the sortable
receiveevent is fired or when the “move all” button is clicked.Here’s a fiddle with an example.