title: twitter bootstrap dynamic carousel
body: <p>I'd like to use bootstrap's carousel to dynamically scroll through content (for example, search results). So, I don't know how many pages of content there will be, and I don't want to fetch a subsequent page unless the user clicks on the next button. </p>
  
  <p>I looked at this question: <a href="https://stackoverflow.com/questions/10232618/carousel-with-dynamic-content">Carousel with dynamic content</a>, but I don't think the answer applies because it appears to suggest loading all content (images in that case) from a DB server side and returns everything as static content. </p>
  
  <p>My best guess is to intercept the click event on the button press, make the ajax call for the next page of search results, dynamically update the page when the ajax call returns, then generate a slide event for the carousel. But none of this is really discussed or documented on the bootstrap pages. Any ideas welcome. </p>