I have been reading and trying to solve this problem, but I can't find a solution.
I'm trying to get the height of a div, to update another div's height and make cool jQuery animations. It's all triggered by an ajax request (which works ok).
I don't know how to get the height of the #bigBox
, because it always return 0.
edited
All the soloutions worked, but they didn't do what I expected.
I need to calculate the height after the #bigBox
fade out.
Finally I managed to do it.
I change the class .toToggle
to the div #bigBox
, instead of beeing in it's parent div. This was done to avoid the parent beeing display: none;
. Now the same element is hidden, so it works
Thank you all! :D