i am use asp.net mvc 5, about jquery validate unobtrusive, jquery validate is 1.13 version. I have searched very much answer, Although this problem have solve,But I want to know another method.
$.validator.setDefaults({ ignore: [] }); //valid
$("#form1").data("validator").settings.ignore = []; //invalid,all input validate invalid
$("#form1").data("validator").settings.debug = true;//valid,if use this method,debug ture model is open, why?
if put code in $(document).ready. all code is useless
how Enable validation for hidden fields only for one form?