/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$.fn.equalizeHeights = function(){ return this.height( Math.max.apply(this, $(this).map(function(i,e){ return $(e).height() }).get() ) ) }