title: How do I call the same function with different div IDs?
body: <p>I have two divs with different ids (<code>#washing</code>, <code>#bleaching</code>). How can I use a function for different IDs. I have tried adding both the IDs together <code>$("#washing, #bleaching")</code>, but the function is not working correctly on the divs.</p>
  
  <p>Here is the code:</p>
  
  <pre><code>$(function() {
      $("#washing").paginate({
          count: 10,
          start: 1,
          display: 7,
          border: true,
          border_color: '#fff',
          onChange: function(page) {
              $('._current', '#paginationdemo').removeClass('_current').hide();
              $('#p' + page).addClass('_current').show();
          }
      });
  });
  </code></pre>