jQuery предотвращение формы подачи
//option A
$("form").submit(function(e){
e.preventDefault();
});
Alberto Peripolli
//option A
$("form").submit(function(e){
e.preventDefault();
});
$('#vendorDerails').validate({
submitHandler: function(form) {
var formData = $(this).serialize();
console.log(formData);
}
});
Remove //form.submit() line under submitHandler
==========*****************************
//or another method is =================================
$('#vendorDerails').submit(function(e) {
e.preventDefault();
});