how to set criteria in multi select using jquery code example Example: jquery find multiple var tds = $(this).find('input, textarea');