Hello,
I'm using client validation function of the MVC 2.0 framework
(with Html.ValidationMessageFor()
and Html.EnableClientValidation()
)
Everything is nice, when I use the validation in a simple form.
But when I get this form via jQuery AJAX
$.get('PathToMyForm', function(htmlResult) {
$('selector').html(htmlResult);
});
client validation doesn't works.