Json 数组传值

时间:2024-01-04 23:48:32

1. var _content = {};
_content[_title] = _oldValue + ' -- > ' + statusVal;

2.

var eventData = {
Title: _title.val(),
Description: $("#input-description").val(),
EventType: $('#select-type').val(),
StartDate: inputStart.data("kendoDatePicker").value(),//kendo.timezone.apply(kendo.parseDate(inputStart.data('kendoDatePicker').value()), "Etc/UTC"),
EndDate: inputEnd.data("kendoDatePicker").value(),//kendo.timezone.apply(kendo.parseDate(inputEnd.data('kendoDatePicker').value()), "Etc/UTC"),
Country: $('#input-country').val(),
City: $('#input-city').val(),
EventHosted: $('#cb-eventHosted').prop('checked'),
PortalUser: users,
ActionStatus: $('#select-status').val(),
ConfigType: 'default'
};