$("#report_comment_success_7553").removeClass("flash_successful") $("#report_comment_success_7553").addClass("flash_unsuccessful") $("#report_comment_success_7553").html("There has been a problem with your request. Please, try again.") $("#report_comment_success_7553").fadeIn(500).delay(2500).fadeOut(500);