Hi,

I am currently trying to validate a form before sending it with the
jQuery Form Plugin.

I can get them working but it is always one or the other, I can't get
them both working.

The code I have so far is below:

<script type="text/javascript">
$('#submit').ajaxForm(function() {
        alert("Thank you for your comment!");
});
$("submit").validate({
        submitHandler: function(form) {
                $(form).ajaxSubmit();
        }
})
</script>

If possible, could somebody help?

Reply via email to