This article has been dead for over three months
You
$('#save-button').click(function() {
var ids = [];
$('#sortable2 > li.stories').each(function(el) {
ids.push($(this).attr('id'));
});
var id = $('#brsel option:selected').attr('value');
var url = "$http://www.daniweb.com!Merge.jspa?section="+id;
jQuery.ajax({type: "POST",
url: url,
data: ({'listID':ids}),
success: function(){
alert("Changes been succesfully saved");
}});
});