If I have an unknown amount of identifiers sharing a specific naming-scheme, is there a way to grab them all at once using jQuery?
// These are the IDs I\'d
No need for additional expr or anything fancy if you have jQuery
jQuery('[class*="someclass"]').click(function(){ }); jQuery('[id*="someclass"]').click(function(){ });
As noted: https://stackoverflow.com/a/2220874/2845401