OllieMcCarthy said
Just grab the heights. Something like this should work
var headerHeight = $('.header').outerHeight(),
leftHeight = $('.left').outerHeight(),
totalHeight = headerHeight + leftHeight;
$('.sidebar').css('height', totalHeight+'px');
On a sidenote – how do I put line breaks into the code tag here!?