$(document).ready(function() { var divHeight = $('.col-1').height(); $('.col-2').css('min-height', divHeight+'px'); });
$('elem').height();
TypeError: Cannot read property 'offsetHeight' of null