$('.showloader').click(function () {
$('.loader').fadeIn();
});
I have a loading css called .loader It is default Display:none
I would like to have it display when click the .showloader . This will submit a register form that has jquery validated method.
What is the best way to fadeOut this div tag if the user enter the wrong input validate or forget to input some field and they have to enter the data again.
Thanks
validatehas a callback action ... so there you can fadeout the element