uhateoas
8/19/2013 - 1:57 PM

Equalize height for Div Elements

Equalize height for Div Elements

var maxHeight = 0;

$("div").each(function(){
   if ($(this).height() > maxHeight) { maxHeight = $(this).height(); }
});

$("div").height(maxHeight);