I am building jQuery UI sortable to store order in the database using serialize and ASP.NET Web Service.
I know how to do it in php, but I am not sure how to do it in ASP.NET... I tried googling with little success.
$('#mylist').sortable({
handle: ".handle",
axis: "y",
update: function () {
var order = $(this).sortable('serialize');
alert(order);
}
});
Gives me query string item[]=2&item[]=1&item[]=3&item[]=4
I need to pass that into Web Service, and store the new order into the database.