$.fn.equalizeHeights = function () {
var maxHeight = this.map(function (i, e) {
return $(e).height();
}).get();
return this.height(Math.max.apply(this, maxHeight));
};
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.