更新时间:2023-12-05 16:28:46
如果您序列化的形式,那么你可以添加额外的值,它与 .PARAM()
功能
If you serializing the form, then you can add additional values to it with the .param()
function
var data = $("#RentForm").serialize() + '&' + $.param({ 'aracid': AracID }, true);
$.ajax({
type: "POST",
url: '@Url.Action("Save","AracKirala")',
data: data,
....