$(window).load(function() {
$("table").sortable({
items: "div",
opacity: 0.6,
cursor: 'move',
update: function (event, ui) {
var order = $('#form1').serialize();
$.ajax({
type: "POST",
url: "Default7.aspx/Update",
data: "{'NewOrder': '" + order + "'}",
dataType: "json",
contentType: "application/json"
});
}
});
});
[System.Web.Services.WebMethod]
public static void Update(string NewOrder)
{
}
我怎麼能提醒新排序行?
請花一些時間和正確格式化您的問題。 – Aristos 2013-03-22 07:40:06