/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$('#some-container').each(function(){ var h = 0; $(this).children('specify-element-if-you-need-to').each(function(i){ if($(this).height() > h){h = $(this).height();} }); $(this).children('specify-element-if-you-need-to').css({'height': h}); });