With jQuery I\'m retrieving positions of a sortable list using \'serialize\', like this:
var order = $(\'ul\').sortable(\'serialize\');
The vari
Found it! I needed to add the option key:'string' which changes the variable name to 'string' instead of 'id'.
key:'string'
var order = $('#projects ul').sortable('serialize',{key:'string'}); $.post('ajax.php',order+'&action=updateOrder');