title: Simple pagination with jquery or javascript
body: <p>I want to include a "pagination" with jquery or javascript to my website.</p>
  
  <p>Therefore, I have created the following simple html-code:</p>
  
  <pre><code>&lt;div class="post-list"&gt;
  
      &lt;div class="post"&gt;
      &lt;h3&gt; head1 &lt;/h3&gt;
      &lt;p&gt; Test1 &lt;/p&gt;
      &lt;/div&gt;
  
      &lt;div class="post"&gt;
      &lt;h3&gt; head2 &lt;/h3&gt;
      &lt;p&gt; Test2 &lt;/p&gt;
      &lt;/div&gt;
  
      &lt;div class="post"&gt;
      &lt;h3&gt; head3 &lt;/h3&gt;
      &lt;p&gt; Test3 &lt;/p&gt;
      &lt;/div&gt;
  
      &lt;div class="post"&gt;
      &lt;h3&gt; head4 &lt;/h3&gt;
      &lt;p&gt; Test4 &lt;/p&gt;
      &lt;/div&gt;
  
      &lt;div class="post"&gt;
      &lt;h3&gt; head5 &lt;/h3&gt;
      &lt;p&gt; Test5 &lt;/p&gt;
      &lt;/div&gt;
  
      &lt;div class="post"&gt;
      &lt;h3&gt; head6 &lt;/h3&gt;
      &lt;p&gt; Test6 &lt;/p&gt;
      &lt;/div&gt;
  
  &lt;/div&gt;
  
  
      &lt;div class="pagination"&gt;
  
      &lt;/div&gt;
  </code></pre>
  
  <p>I am Newbie in web development and I don't know how to write a simple
  javascript or jquery code to make a pagination work.
  After searching the internet I haven't found any simple solution for it.</p>
  
  <p>Therefore, I would really appreciate it if you could tell me a jquery or javascirpt code that I can apply to this html code.</p>
  
  <p>Thanks for any help :-)</p>