I've been trying to use jquery ajax with daypilot resize method, but can't pass data event to a server side method php in codeigniter.
dp.onEventResize = function (args) {
console.log(args);
$.ajax({
url: "calendar/proccess_resize_event",
type: 'POST',
data: args,
processData: false,
dataType: 'json'
})
.done(function(data){
console.log(data);
})
.fail(function(data){
console.log(data);
});
}
what is the correct way to use it??
question from:
https://stackoverflow.com/questions/65617611/correct-way-to-use-jquery-ajax-using-daypilot-resize 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…