Writing a general AJAX function with custom success section – Jquery ajax
I am trying to minimalise the number of similar functions I am adding to my code by writing one general function in jQuery. When it comes to form submissions, the top section of AJAX code is more or less the…