custom error issue
custom error issue
I created an error when the user doesn't enter a value to a text box.
- $('#errorMessage').fadeIn("slow").delay(1000).fadeOut(2000).append("<h2>Podaj nazwe konfiguracji!</h2>");
it all works fine, but when you make the mistake twice, the "Podaj nazwe konfiguracji!" is displayed twice in the error message box. Is it possible to remove the text just after the box fades out?