var maxHeight = 0; $("div").each(function()( if ($(this).height() > maxHeight) ( maxHeight = $(this).height(); ) )); $("div").height(maxHeight);
var maxHeight = 0; $("div").each(function()( if ($(this).height() > maxHeight) ( maxHeight = $(this).height(); ) )); $("div").height(maxHeight);