How to submit multiple forms with jquery ajax and HTML5 validation

I've clearly explained about jquery ajax from submissions and html5 validation before. Here I am just extending it a little bit. What if the scenario include multiple forms and it should use the same jquery ajax submission part. Its totally awkward using separate jquery ajax submit for different forms, as basically the jquery submit part is standard for all forms (as we are passing the form data through jquery serialize ).

multiple forms with jquery ajax and HTML5 validation Code


Name:
Email:
Name:
Message:

DEMO

DOWNLOAD SOURCE

Author: Linjo Joson

Myself Linjo Joson, here in dollarfry , I write articles about creating and optimizing websites as well as making money from your online business. I am PHP/WordPress developer by proffession.I love web analytics and driving traffic to them(doing this for 9 years). You can find me on Google+