> var inputs = jQuery(the_form).find('input'); //a list of fields
> var field = jQuery(inputs).filter('[name='+fieldname+']');
>
> my problem is, that inputs doesn't contain textarea and select fields.

Use the pseudo selector :input.

var inputs = $('#myForm :input');

http://docs.jquery.com/Selectors/input

Reply via email to