Use jQuery to attribute selector to select all IDs and run a function
<p>I want to get all the IDs that start with blblblb_ and run a separate JS function that I made. Here is what I have, it is only getting the first ID:</p>

<pre><code>$(window).scroll(function() {
  var test = $('div[id^="blblblb_"]').attr('id');
  foo(test);
});
</code></pre>

<p>Any ideas what I'm doing wrong?</p>
