$("#report_comment_success_52882").removeClass("flash_successful") $("#report_comment_success_52882").addClass("flash_unsuccessful") $("#report_comment_success_52882").html("Ha habido un error en tu petición. Por favor, inténtelo de nuevo.") $("#report_comment_success_52882").fadeIn(500).delay(2500).fadeOut(500);