each input jquery code example
Example 1: jquery each
$( "li" ).each(function( index ) {
console.log( index + ": " + $( this ).text() );
});
Example 2: each input form jquery
$("form#formID :input").each(function(){
var input = $(this); // This is the jquery object of the input, do what you will
});