Is there a way to reduce this

$("#id1, #id2, #id3, #id4, #id5, #id6, #id7, #id8, #id9,
#id10").click(function() { ... });

to something like this

$("#id[1-10]).click(function() { ... });

?

Reply via email to