[jQuery] [validate] If no error execute click function

[jQuery] [validate] If no error execute click function


Here I have a form... the validation works great on keyup and submit.
But when submit, I want to run a click function
    $("#support").click(function(){
        alert("123");
    });
only when there is no error from the validation. It should give the
alert message only when everything on the form is ok. How can I
achieve this?