Hello,
I want to check in if the form validates properly in order to display a "please wait" message.
This is the code I use (and works properly)
I just want an 'if' condition before fading in the message div (#pleasewait) that check if the form validates.
How can I do this?
I want to check in if the form validates properly in order to display a "please wait" message.
This is the code I use (and works properly)
jQuery('#submit_button').click(function() {
jQuery('#submit_button').hide();
jQuery('#pleasewait').fadeIn('slow');
});
I just want an 'if' condition before fading in the message div (#pleasewait) that check if the form validates.
How can I do this?