jQuery Simple Example

HTML

<script src="//www.addressfinder.co.nz/assets/v2/widget.js"></script>
<div class='casestudy-container'>
  <div class='text'>
    Hello
  </div>
  
  <div class='text'>
    Big hello
    Big hello
    Big hello
    Big helloBig hello
    Big hello
    Big hello
    Big hello
    Big hello
    Big hello
    Big hello
    Big hello
    Big hello
    Big hello
    Big hello
    Big hello
    Big hello
    Big hello
    Big hello
    Big hello
    Big hello
    Big hello
    Big hello
    Big hello
  </div>
</div>

CSS

.casestudy-container {
  background: red;
}

JavaScript

$(document).ready(function() {
 setHeight();
});

$(window).resize(function() {
 setHeight();
});

function setHeight() {
 var highestBox = 0;
  $('.casestudy-container .text').each(function(){
    if($(this).outerHeight() > highestBox) {
      highestBox = $(this).outerHeight();
    }
  });

  $('.casestudy-container .text').outerHeight(highestBox);
}