1$('#element').sortable({
2 axis: 'y',
3 update: function (event, ui) {
4 var data = $(this).sortable('serialize');
5
6 // POST to server using $.post or $.ajax
7 $.ajax({
8 data: data,
9 type: 'POST',
10 url: '/your/url/here'
11 });
12 }
13});