Checking validation errors in XMLHttpRequest
- by egaga
$.post(actionUrl, serializedForm, function(response) {
 ...
}
I need to check whether validation of form succeeded, or not (I don't need to know the exact validation errors). The validation is done by Spring, and I wouldn't like to interfere the process, because there's some annoying dependencies.
What would be the best approach? Is there a Spring error object in response, or is it accessible only in server side? 
I would also like to know if there's is any proper documentation about response in jQuery site?  How can I traverse or manipulate it?