I am trying to submit my form in AJAX, so I have to serialize() the data. But I am using fckEditor
and jQuery doesn\'t know how to deal with it, so after the se
With ES15 now. You can use this instead one for editing current submitted value (the shortest one)
var values = $("#frmblog").serializeArray();
values.find(input => input.name == 'content').value = content_val;
console.log(values);
or native function
var values = $("#frmblog").serializeArray();
values.find(function(input) {
return input.name == 'content';
}).value = content_val;
console.log(values);