jQuery AJAX Intro

Introduction to AJAX.

jQuery AJAX Introduction

AJAX is the art of exchanging data with a server, and updating parts of a web page - without reloading the whole page.

What About jQuery and AJAX?

Writing regular AJAX code can be a bit tricky, because different browsers have different syntax for AJAX implementation. This means that you will have to write extra code to test for different browsers. However, the jQuery team has taken care of this for us, so that we can write AJAX functionality with a single line of code.

Example

$("#div1").load("demo_test.txt");