I use this code for my form
var formData = $("#form").serializeArray();
now I want to push an array into formData variable like this
[{"name":"xxxx"},{"name":"xxxx"}]
or push the array to object of the formData
Update: I want to send the data via ajax to server
any solution?