$(function(){
var $comment = $( '#comment'); //Get the comment box
$('.bigger').click(function(){ //Bind the click event for the enlarge button
if(!$comment.is(": animated")){ //Determine whether it is animated
Set the height and add 50 to the original value.
🎜> if(!$comment.is(":animated")){//Determine whether it is animated
if( $comment.height() > 50 ){
$comment.animate({ height : "-=50" },400); //Reset the height and subtract 50 from the original value