I know about $(window).resize(function () {.....});
but this only works whenever the window is resized.
I tried attaching this event to a e.g. $("#some-div").resize(function () {.....});
and it won't work.
Is there some other method using pure Javascript or jQuery?
Thanks