[jQuery] multiple class selector

[jQuery] multiple class selector


Hello
I want to do:
$('input.add,input.mul,input.sub')
Is this good enough?
I wouldn't like jQuery to search the whole DOM 3 times.
Should I simply search for $('input') and after that check whether the
class is 'add', 'mul' or 'sub'?
thanks