jQuery CSS 'or' selector jQuery CSS 'or' selector jquery jquery

jQuery CSS 'or' selector


$(".class1,.class2").each(function(idx, el) {... });

put a comma within the same selector string.

http://api.jquery.com/multiple-selector/