Find html element which id starts with
Give that element a common class name or some other attribute you can query for.
Use the "attribute starts with" selector http://api.jquery.com/attribute-starts-with-selector/
$("[id^=list_]")
Be aware that this is inefficient. Prefix with the tag name and descend from the nearest parent if possible.
You need to use the attribute starts with selector, like this:
$('[id^=list_]').whatever()
Try
$('div[id^="list_"]')
It should work