Description:

In this post I’ll teach you post data using ajax form
without page refreshing. Firstly I explain about ajax. In this article we will
learn one very important concept in ajax() functionality. In day-to-day project
development the common task is to submit form data to the server, in other
words in the broad sense, "save user's data to server". The
data sending or data passing operation can be done in various ways, we can take
data from an individual control and form it in JSON format or we can serialize
an entire form's data and send it to the server.

AJAX:

AJAX (Asynchronous javascript and xml) is used basically
exchange data with a server and updating parts of web page without reloading
whole page. Ajax is make our site very fast and more interactive web application
with the help of xml, html, css and javascript.

Conventional web applications transmit information to and
from the sever using synchronous requests. It means you fill out a form, hit
submit, and get directed to a new page with new information from the server.

With AJAX, when you hit submit, JavaScript will make a
request to the server, interpret the results, and update the current screen. In
the purest sense, the user would never know that anything was even transmitted
to the server.

XML is
commonly used as the format for receiving server data, although any format,
including plain text, can be used.