I ran into an unusual situation yesterday night.
I need to match only part of id. Let me clear you all with an example
I have few divs like
You could use the "Starts With" selector:
$('div[id^="sales_info_"]')
I'd rather recommend you use a unique class name for your elements that you can select on though.