jQuery – is there shortern notation for the following statement?

I want to select elements that have similar incrementally-based names. Is there shorter notation to do the same thing?

$  ('#galnav1,#galnav2,#galnav3,#galnav4,#galnav5,#galnav6,#galnav7,#galnav8,#galnav9,').each(function(){
    ...
});

newest questions tagged jquery – Stack Overflow

About Admin