Submit form without refresh the page

3:36 PM Unknown 0 Comments



1.Overview

Many people asks about ajax and jquery and we can use this ,in real project ,so , i have wrote this post to make it easy for you to getting started with ajax and some codes in Jquery.

2.What is Ajax ?!! 

Ajax is a client-side script that communicates to and from a server/database without the need for a postback or a complete page refresh. The best definition I've read for Ajax is “the method of exchanging data with a server, and updating parts of a web page - without reloading the entire page.”
read more here :
http://www.seguetech.com/blog/2013/03/12/what-is-ajax-and-where-is-it-used-in-technology

3.Basic ajax request structure

<script type="text/javascript">
$.ajax({

url:"TestPage.php",
data:data,
success:function(message)
{
//do something after the callback
}

});
</script>

4.Getting Started

i have posted a video on Youtube you can watch from this link