fr-olivier
2/20/2014 - 3:17 PM

(jQuery) Get max height from a set of elements

(jQuery) Get max height from a set of elements

var heights = $("section > div").map(function() {
	return $(this).outerHeight();
}).get(),

maxHeight = Math.max.apply(null, heights);