【发布时间】:2009-09-09 11:03:40
【问题描述】:
我正在使用此代码:
$(document).ready(function() {
$("#test-list").sortable({
handle : '.handle',
update : function () {
var order = $('#test-list').sortable('serialize');
$("#info").load("process-sortable.php?"+order);
},
});
});
我希望在我放下项目并将请求发送到服务器直到 PHP 请求完成并且加载成功时显示加载指示器(如果可能,则为 GIF 动画)。
我该怎么做?
谢谢。
【问题讨论】:
标签: jquery-ui loading jquery-ui-sortable indicator