jquery get all input elements by id code example
Example 1: each input form jquery
$("form#formID :input").each(function(){
var input = $(this); // This is the jquery object of the input, do what you will
});
Example 2: find all input elements in a form
Find all input in a form