$("form#formID :input").each(function(){ var input = $(this); // This is the jquery object of the input, do what you will });