I wrote a code that basically selects all input type=text element like this:
input type=text
$(\'.sys input[type=text]\').each(function () {}
$('input[type=text],select', '.sys');
for looping:
$('input[type=text],select', '.sys').each(function() { // code });