I got my all error messages in ajax response variable "data" as follws
i have logged in console i got this in my "Ajax response data"
Object {result: "error", msg: "Validation Error", err: "{"EpAccount_Bank_Name":["Bank Name cannot be blank…_Account_Name":["Account Name cannot be blank."]}"}
now i want to split that err array as key and value pairs.
I have tried with $.each(data.err, function(key,val))