Get multiple elements by a list of id's with jQuery
Just try to put all id's in selector separated by comma:
$('#1234, #2345, #3456')...
Code: http://jsfiddle.net/3df6W/
P.S. ID's shouldn't start with digits.
Try this
$('#1234, #2345, #3456')