Hi All I have 2 arrays on one page and some buttons which are performing onclick ajax calls - the line I am using to serialize the array is as seen below:
var data = $('form').serializeArray();
however the wrong form is being serialized - is there anyway to do serialize array by name or ID of a form field - I know this will be an extremely easy solution - I am completely new to JS