On Mar 15, 2007, at 12:42 PM, amircx wrote:
> i saw many sortables around including protoype, its seems that the
> interface
> plugin is the most simple , but i dont have a clue how can i
> serialize the
> data after the user release the dragged content, and also, how can
> i send it
> to the server for proccessing the data
Do something like:
$("#someid").Sortable({
accept : 'sortableitem',
onchange : function (sorted) {
serial = $.SortSerialize('projectlist');
$.ajax({
url: "http://www.example.com/save.php",
type: "POST",
data: serial.hash
// complete: function(){},
// success: function(){},
// error: function(){}
});
}
});
--
Mika Tuupola http://www.appelsiini.net/~tuupola/
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/