1$('#form').validate({
2
3 ... your validation rules come here,
4
5 submitHandler: function(form) {
6 $.ajax({
7 url: form.action,
8 type: form.method,
9 data: $(form).serialize(),
10 success: function(response) {
11 $('#answers').html(response);
12 }
13 });
14 }
15});