I set a height with jquery. After this height is set, another function shall be executed.
Is is important, that this function is first executed, when the first height was set.
This is my code
$('.equal-height2').height(max_height2, function() {
alert('###');
pc_img_height = $('.podcasts-meta-img').height();
$('.podcasts-meta-img').width(pc_img_height);
})
The alert get so fired at the moment.
height()doesn’t have callback function, tryanimate();