saftutorials.com
ajax
AJAX is a package of web development using many web tools on the client-side to create asynchronous Web applications. With Ajax, a web applications can send data to and retrieve from a server asynchronously (in the background) without reloading page. Ajax can't run lonely without HTML and CSS

By this AJAX Tutorials you can learn how to make a website user friendly using AJAX.



The AJAX full meaning is Asynchronous Javascript And XML


If you want build a website so first learn AJAX. If you follow our full AJAX tutorials with video tutorials we hope you can learn AJAX complete.

Basic Structure of AJAX

<!DOCTYPE html>
<html lang="en">
	<head>
		<title>AJAX Tutorials</title>
	</head>
<body>
<div id="loadAjax">
<h1>GET XML HTTP Request Object Data</h1>
<p>Click to the link and load ajax data.</p>
<a href="#" onclick="loadAjaxDocument()">Load Ajax Data</a>
</div>

<script>
function loadAjaxDocument() {
  var xhttp = new XMLHttpRequest();
  xhttp.onreadystatechange = function() {
    if (this.readyState == 4 && this.status == 200) {
      document.getElementById("loadAjax").innerHTML =
      this.responseText;
    }
  };
  xhttp.open("GET", "loadajaxdata.txt", true);
  xhttp.send();
}
</script>

</body>
</html>

Double Click to Select Code

Find us on

Facebook Google Plus Twitter Pinterest YouTube

web statistic