Hello everyone.

First I want to say: I'm from the Netherlands, and my Engelish is not that good, so sorry for that

My problem:

I have a form. With a database I get some variables and with that variables I make some input fields. But, the number of fields can be different, and they have different names.

I want to submit the form with ajax, but before I can do that, I have to know what input fields I have. So, my question is: how can I figure out which input fields I have, and, how can I put them as arguments in a js-function?

I hope you people can help me...