$('.showloader').click(function () {
$('.loader').fadeIn();
});
I have a loading css called .loader It is default Display:none
I want the .loader to be displayed when the .showloader is clicked. This will submit a registration form with a jQuery validated method.
What's the most effective way to fade out this div tag if the user enters incorrect validation inputs or forgets to fill in a required field, prompting them to re-enter the data?
Thank you