JavaScript Dodaj element do szeregowej tablicy formularzy

var form_data = $(form).serializeArray(); //Encode form elements for submission
form_data.push({name: 'action', value: 'findCode'});
SeriousMonk