My ajax success/failure event is not firing. I am using jquery validation and inside that i am using ajax for form submit. My forms are getting submitted but return value(JSON
As pointed out by Barmer in his first comment, there are several issues with this code...
submitHandler: function(form) {
e.preventDefault;
....
Variable e does not exist within this submitHandler function.
You've failed to include the parenthesis in .preventDefault().
You don't need .preventDefault() in this context since the plugin is already blocking the default submit. Remove this line entirely.
NOTES:
For good readability, don't mix Allman with 1TBS style code formatting... just be consistent throughout. Additionally, it might be best to avoid using Allman in JavaScript altogether.