jQuery make divs equal height

Notice: A non well formed numeric value encountered in /customers/b/b/d/puddinq.com/httpd.www/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118Notice: A non well formed numeric value encountered in /customers/b/b/d/puddinq.com/httpd.www/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119

This little script can be run agains classes so all all items with that class are of equal hight.

Sometimes it is impossible to make different items the same hight with css as the elements are flexibel and the size depends on the contents. The script looks at the heights of all items after loading and sets the height for each element based on the hight of the longest.