【发布时间】:2011-05-27 14:49:10
【问题描述】:
这是我的代码:
$(".img-line").sortable({
update:function(){
var order = $('.img-line').sortable('serialize');
$.ajax({
type: 'POST',
data: order,
url: '/ajax/imageSort.php'
});
return false;
}
});
在我的 imageSort.php 中,当我尝试获取数据时,在 $_GET 或 $_POST 中查找它,它们都是空的。如何获取 sortable() 发送的数据?
【问题讨论】: