I'm getting the form data correctly using serializeArray() function, but im not sure how to change this data the object, which is = default_values
Here's my JavaScript:
$(document).on( 'click', '.anyicon-reset-button', function() {
console.log($('#anyicon-live-style-form').serializeArray());
console.log(default_values);
});
I want to remove the data from the serialized array, which is
And set the data, which is in default_values object:
Any ideas are welcome!

$.ajaxcall, then you can just useserialize()