How to do something after element's resized
<p>I have div#myid that is resizeable with minHeight = 30px;</p>

<p>I want to do something to another div div#myotherid, e.g. adding new class..</p>

<p>Have do trying the following, but no luck..</p>

<pre><code>$(document).ready(function() {

if ( $( "#myid" ).css( "height" ) == "30px" ) {
 $( "#myotherid" ).addClass( "newclass" );
 }
</code></pre>

<p>});</p>

<p>So, what is the other way to do?? </p>

<p>Thanks</p>
