This does not work because you misunderstood how it works validate. This is similar to event handler functions such as click, but in fact it is not.
click bind('click', fn). validate bind. live bind , , validate.
- , validate , . , AJAX, ajaxComplete:
function setupValidate() {
$("form#form_CreateUser").validate({
submitHandler: function(form) {
UserSubmit();
}
});
}
$(document).ajaxComplete(setupValidate);
setupValidate();