I have a long form and trying to get the loop done. but i am not sure how to
check for options (dropdown) and radio type’s, if exist, select the checked or selected and put it in the array.
Is there a better way to construct it?
and when the loop is done, to pass the var for sending it in ajax?
I generally use something like this, if I need to ajax a form.
Simply append parameters to the end of your ajax request.