showing results for - "jquery validate unobtrusive dynamic content"
Samy
01 Jan 2018
1$("form").data("unobtrusiveValidation", null);
2$("form").data("validator", null);
3$.validator.unobtrusive.parse($("form"));	  
4
Esteban
08 Apr 2020
1$(document).ready(function () { 
2    rebindvalidators();
3});
4
5function rebindvalidators() {
6    var $form = $("#id-of-form");
7    $form.unbind();
8    $form.data("validator", null);
9    $.validator.unobtrusive.parse($form);
10    $form.validate($form.data("unobtrusiveValidation").options);
11}
12