Skip to content Skip to sidebar Skip to footer

Jquery Animate Height With A Variable?

Here is the commented JSfiddle. I am trying to animate the height of a div using jquery, which modifies the css. However, due to the dynamic nature of this project, the height will

Solution 1:

$(this).animate({height: '+=' + pollHeight},1000);

This should do the trick.


Post a Comment for "Jquery Animate Height With A Variable?"