title: jQuery smooth resizing of element on .html()
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/244758/jquery-animation-smooth-size-transition">jQuery Animation - Smooth Size Transition</a>  </p>
  </blockquote>
  
  
  
  <p>I have a <code>div</code> with content that changes using <code>.html('some content')</code>. When the content changes, the height of the div either increases or decreases depending on whether the content is getting longer or shorter.</p>
  
  <p>Right now the <code>div</code> resizes immediately. I want to use jQuery to make it resize smoothly, i.e. expand smoothly if the content is taller, or shrink smoothly if the content is shorter.</p>
  
  <p>Thanks!</p>