0
我傳遞的數據通過這個代碼,但它不工作:傳遞數據沒有成功
$.ajax({
url: '@Url.Action("Edit_we","storemanager")',
type: "POST",
data: JSON.stringify(obj),
dataType: "json",
contentType: "application/json; charset=utf-8",
success: function(data)
{
alert("your data is saved")
},
error: function() {
alert("An error has occured!!!");
}
});