AJAX

Tutorials realized by 9XR users or HK Staff.

AJAX

Postby Arunachalam » 28 Aug 2014, 21:38

AJAX = Asynchronous JavaScript and XML.

AJAX is not a new programming language, but a new way to use existing standards.

AJAX is the art of exchanging data with a server, and updating parts of a web page - without reloading the whole page.The AJAX application above contains one div section and one button.

The div section will be used to display information returned from a server. The button calls a function named loadXMLDoc(), if it is clicked:
<!DOCTYPE html>
<html>
<body>

<div id="myDiv"><h2>Let AJAX change this text</h2></div>
<button type="button" onclick="loadXMLDoc()">Change Content</button>

</body>
</html>
Arunachalam
 
Posts: 55
Joined: 11 Aug 2014, 19:17

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 0 guests