I have a form witha textarea as non-required.When I edit the value inside textarea and click save or cancel or delete immediately it doesn't trigger 1st time but triggers in second click. Like below image
And I have my jquery-validate onfocusout event like below but it is not fired
onfocusout: function(element) {
if (!this.checkable(element) && element.name in this.submitted) {
this.element(element);
}
},
Am I missing anything? I am using Asp.NET MVC TextAreaFor html helper like below
@Html.TextAreaFor(m => m.Comment, new {@class = "form-control", data_bind = "value:Comment,attr:{id:commentId}" })