matchtest
Hi
Ho
$("#form input").each(function () { data[theFieldName] = theFieldValue; });
JS Bin
Hi
Ho