jquery serialize array for post code example
Example: javascript add element to serialized form array
var form_data = $(form).serializeArray(); //Encode form elements for submission
form_data.push({name: 'action', value: 'findCode'});
var form_data = $(form).serializeArray(); //Encode form elements for submission
form_data.push({name: 'action', value: 'findCode'});