jQuery: Get element with the maximum height from a set of elements

Change .myelements to the elements you are searching for.
var eMaxHeight = -1;// this variable holds the max height;
$('.myelements').each(function() {
    eMaxHeight = eMaxHeight > $(this).height() ? eMaxHeight : $(this).height();
});

// do something with it... like log the maximum height to the console
console.log(eMaxHeight);