$.ajax({
url: '../app/source/addPassenger',
data: {
passenger_resource: JSON.stringify(passenger_resource),
},
dataType: 'json',
type: 'POST',
success: function (data) {
alert("添加成功!")
window.location.href = "select.html"
},
error: function () {
alert("提交失败");
}
})
我试了下,alert停住了呀