The unobtrusive library will attach the validator on all forms, so you have to replace the submitHandler this way:
$("form").data("validator").settings.submitHandler = function (form) { alert('submit'); form.submit(); };
More Related Contents:
- Manually set unobtrusive validation error on a textbox
- Unobtrusive validation in Chrome won’t validate with dd/mm/yyyy
- ASP.net MVC 3 jQuery Validation; Disable Unobtrusive OnKeyUp?
- attaching jquery validation to replacement element
- jquery client side validation not working in MVC3 partial view
- MVC 4 client side validation not working
- validation for at least one checkbox
- Validate that end date is greater than start date with jQuery
- Perform client side validation for custom attribute
- jQuery Validate array input element which is created dynamically
- Using JQuery Validate Plugin to validate multiple form fields with identical names
- How to access JSON Object name/value?
- MVC 3 jQuery Validation/globalizing of number/decimal field
- Stop form from submitting , Using Jquery
- jQuery Form Validation before Ajax submit
- How can we specify rules for jQuery validation plugin by class?
- client-side validation in custom validation attribute – asp.net mvc 4
- Validate Format of an Email Address using Jquery.validate.js [closed]
- Validate fields using JQuery validation without any submit?
- jQuery Validation plugin won’t validate when in click event handler of
- How can I enable jquery validation on readonly fields?
- Jquery dialog partial view server side validation on Save button click
- How to edit the selected cell on jqGrid
- jQuery select box validation
- jQuery Validation with multi-part form
- jQuery validator plugin + ajax submitting not working
- jQuery Validate plugin, one out of two fields is required
- JQuery.validate – one rule on blur only; the rest should be normal?
- JQuery validation-select required if checkbox checked
- jQuery validate plugin : accept letters only?