Possible Duplicate:
Wildcards in jQuery selectors
Say I have several buttons on my page, with id tags as id_1
, id_2
, id_3
etc
I want a function to cover all of them being pressed, so something that checks if the first 3 characters are id_
.
$("?????").click(function(event) {
What replaces the ??????
I can't use classes instead, in this instance.