What Is Ajax?
380
AJAX is the short usage of "Asynchronous JavaScript and XML".
It is a technique for creating interactive applications web pages using JavaScript and XMLHttpRequest.
Ajax can make visible changes without having to reload page and don't interrupt user, providing faster working functionalities.
Multiple independent operations can be performed using the technique called XMLHttpRequest.
The main goal is to make web pages that can update the page faster with a small amount of data exchange with the server in the background, thus saving the user the trouble of updating the entire web page at any time. This means increasing the interaction, speed and usability of the web page.
Basic Ajax Code Structure and Usage
$ .ajax ({ // Beginning of Ajax Code
type: "POST", // Data Type: "GET" or "POST"
url: "save.php", // Link of controller where function will be executed.
data: name, // Data to Send
success: function (result) { // Success parameter allows to perform actions according to the result returned from URL.
Haluk YAMANER
Founder @ Future Software UAE
Founder @ Future Linux
Click here for more about me »