Post Form Data via JQuery-Ajax Post

Case Scenario
Want to prevent default HTML form submission behavior and want to post form data via jquery & ajax to any URL.

Solution
Very simple solution. just with e.preventDefault() prevent default form submission and write down the following jquery code and enjoy!

Thanks. Post a comment if you face any problem.

Shaharia is a professional software engineer with more than 10 years of experience in the relevant fields. Digital ad certified, cloud platform architect, Big data enthusiasts, tech early adopters.