-
-
Save evadi/2e00039c4cc9f76b9f3a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//this code goes in your partialview | |
$(function(){ | |
//allow the validation framework to re-prase the DOM | |
jQuery.validator.unobtrusive.parse(); | |
//or to give the parser some context, supply it with a selector | |
//jQuery validator will parse all child elements (deep) starting | |
//from the selector element supplied | |
jQuery.validator.unobtrusive.parse("#formId"); | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment