title: the number doen't decrease after downward arrow was clicked
body: <p>I have my problem in this <strong><a href="https://www.youtube.com/watch?v=gDss14cons4" rel="nofollow">video</a></strong>. The number is increase after upward arrow clicked, but not vice versa. I think the jquery code is not correct enough. I thought that i just change from <strong>top</strong> to <strong>bottom</strong>, and from +1 to -1 but i'm wrong and it doesn't work well.</p>
  
  <p>the code:</p>
  
  <pre><code>&lt;?php
      include("mwcon.php");
  ?&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;link rel='stylesheet' type='text/css' href='/css/post.css'&gt;
      &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"&gt;&lt;/script&gt;
      &lt;script&gt;
          $(document).ready(function() {
            $(".post-vote-top").click(function() {
              $(this).next(".post-vote-middle").text(function(i, v) {
                return parseInt(v, 10)+1;
              });
            });
          });
          $(document).ready(function() {
            $(".post-vote-bottom").click(function() {
              $(this).next(".post-vote-middle").text(function(i, v) {
                return parseInt(v, 10)-1;
              });
            });
          });
      &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;?php
      echo "
          &lt;div id='post'&gt;
              &lt;table&gt;
      ";
      $no=1;
      $q=mysql_query("SELECT * FROM t_post");
      while($f=mysql_fetch_object($q)){
          echo "
              &lt;tr&gt;
                  &lt;td class='post-nomor'&gt;$no.&lt;/td&gt;
                  &lt;td class='post-vote' align='center'&gt;
                      &lt;div id='main'&gt;
                          &lt;div class='post-vote-top'&gt;&lt;/div&gt;
                          &lt;div class='post-vote-middle'&gt;$f-&gt;vote&lt;/div&gt;
                          &lt;div class='post-vote-bottom'&gt;&lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/td&gt;
                  &lt;td&gt;&lt;a href='$url' target='_blank'&gt;&lt;img src='$f-&gt;linkimg' width='80' height='50'&gt;&lt;/img&gt;&lt;/a&gt;&lt;/td&gt;
              &lt;/tr&gt;
          ";
          $no++;
      }
      echo "
              &lt;/table&gt;
          &lt;/div&gt;
      ";
  ?&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Please help me. Thanks.</p>