How to add a value in a json subarray with jQuery ?
I has build this code but it dosen't work... The developer console tell me "Cannot call method 'push' of undefined"
function save(){
var Arguments = [];
$('.builder-page').each(function(){
var title = $(this).find('input[name=title]').val();
Arguments.pages.push({'title':title})
});
console.log(Arguments);
}
Thanks !