$(function() {
$('#contentLeft ul').sortable({
update: function() {
var order3 = [];
$('#contentLeft ul li').each(function(){
order3.push($(this).attr('id').replace(/_/g, '[]='))
});
alert(order3.join('&'));
}
});
});
try here: http://jsfiddle.net/MXCZx/1/
Vaibhav Gupta
2010-08-27 16:21:12