title: Apply jQuery function to multiple elements with same class
body: <p>I have a web page that has multiple sliders on, all with the class '.viewer'</p>
  
  <p>If I add my jQuery </p>
  
  <pre><code>   $('.viewer').carousel('.viewer #simplePrevious', '.viewer #simpleNext');
  </code></pre>
  
  <p>This doesnt work, Is this because it doesnt know what slider this applies too? Should it not apply to all .viewer elements on the page? </p>