我只是在发布信息后尝试刷新页面,这确实成功。该功能不会打电话。
$('#qwerty').sortable({
update: function (event, ui) {
var newOrder = $(this).sortable('toArray').toString();
$.post(document.URL + '/saveEdit', {
order: newOrder
}).done(function () {
console.log('Y wont this call?');
window.location.href = document.URL;
});
}
});