tags:

views:

13

answers:

1

I have div#myid that is resizeable with minHeight = 30px;

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

Have do trying the following, but no luck..

$(document).ready(function() {

if ( $( "#myid" ).css( "height" ) == "30px" ) {
 $( "#myotherid" ).addClass( "newclass" );
 }

});

So, what is the other way to do??

Thanks

A: 

You might want to look at http://docs.jquery.com/Events/resize.

The MYYN
I don't get any clue there
takien