I do an ajax call in a lightbox script which returns a form.
when the form is loaded I call var initial = $('form').serializeArray();
when the form is submitted I call var final = $('form').serializeArray();
which gives me two arrays of objects, What I now want to do is compare each object in the arrays and remove those that have not changed.
how would I do this?