title: Show more data Mongo/Express
body: <p>Im trying to make something like youtube comments, you click 'show more' and then it loads more data (comments, images, users and other data) and show it on the page.  </p>
  
  <p>Im doing this:<br>
  <strong>I have this route:</strong>  </p>
  
  <pre><code>router.get("/image/:id/:commentsVisible", function (req, res) {
      Images.findById(req.params.id).
      populate({
          path: 'comments',
          options: {
              limit: req.params.commentsVisible
          }
      }).
      exec(function (err, image) {
          res.render("path/to/file", {
              image: image
          });
      });
  });
  </code></pre>
  
  <p><strong>HTML</strong>  </p>
  
  <pre><code>&lt;div&gt; image goes here &lt;/div&gt;
  
  &lt;div class="commentAr"&gt;
      &lt;% image.comments.reverse().forEach(function(comment){ %&gt;
          &lt;div&gt;
              &lt;div class="col-md-10 small_margin_hr"&gt;
                  &lt;strong&gt;&lt;%= comment.author.username %&gt;&lt;/strong&gt;
                  &lt;p class="text-left c-dark userComment more"&gt;
                      &lt;%= comment.text %&gt;&lt;br&gt;
                  &lt;/p&gt;
                  &lt;span class="text-muted" style="font-size: 15px;"&gt;
                    &lt;%= comment.date.getDate() %&gt;\
                    &lt;%= comment.date.getMonth()+1 %&gt;\
                    &lt;%= comment.date.getFullYear() %&gt;
                  &lt;/span&gt;
              &lt;/div&gt;
  
          &lt;/div&gt;
          &lt;% }); %&gt;
              &lt;form action="/image/&lt;%= image._id %&gt;/commentsVisible+10" method="GET"&gt;
                  &lt;button type="submit" class="btn btn-default" style="margin: 0 80%;"&gt;More&lt;/button&gt;
              &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>CSS</strong>  </p>
  
  <pre><code>.commentAr {
    overflow-y: auto;
    overflow-x: hidden;
  }
  </code></pre>
  
  <p>Then i have a button, everytime the user click at the button it reload the page with commentsVisible + 10. It works but is kinda ugly, i wish i could just show more comments without have to reload all the page. How can i make this happen ?  </p>
  
  <p>Thank You.</p>