Examples here:
http://stackoverflow.com/questions/169506/obtain-form-input-fields-using-jquery
jQuery handles serialisation of a form by collecting together all the fields that would be submitted, as GET parameters. We may be able to use that to more easily get at all the fields we need.