如何从另一个url中随机显示元素?

I want to randomly display three divs (of the same class ".post-content") from a specific url.

I can display contents of a div from another url (with consent) using the following code, but it lacks the randomisation I need:

<script>
$(function(){
    var contentURI= 'http://www.example.com/ .post-content';
    $('#response').load('grabber.php?url='+ contentURI);
});
</script>

<?php echo file_get_contents($_GET['url']); ?>

<div id="response"></div>

EDIT This currently outputs a url with just the one div of that class. I need it to output x3 divs of the same class at random.

My skills are somewhat lacking to mash other code I've found into one concise code. Any assistance you can provide would be greatly appreciated. Thank you.

Found the answer...

JQuery

$.get("https://www.example.com", function(data) {
    var $quotes = $(data).find(".container-articles-5"),
      count = $quotes.length,
      $random = function() {
        return $quotes.eq(Math.floor(Math.random() * count));
      };
    $(".blog-ad-1").append($random);
});

HTML

<aside class="blog-ad-4">
    <div class="blog-ad-5">
      <div class="blog-ad-3">
        <div class="blog-ad-1"></div>
      </div>
      <div class="blog-ad-3">
        <div class="blog-ad-1"></div>
      </div>
      <div class="blog-ad-3">
        <div class="blog-ad-1"></div>
      </div>
    </div>
</aside>