Slightly modified "on success" after the ajax request. We check additionally if the success status of the response is "true" before moving to next things, if not an alert box pops out with the text of the error from the server.
Slightly modified "on success" after the ajax request.
We check additionally if the success status of the response is "true" before moving
to next things, if not an alert box pops out with the text of the error from the server.

MattBlack85/dunning-cruncher