Introduction to AJAX | asynchronous JavaScript and XML

Introduction to AJAX | asynchronous JavaScript and XML

In this blog post i am going to talk about AJAX.Probably you
heard this line "AJAX makes page dynamic".
We use AJAX for making websites more
dynamic and interactive.lets talk about AJAX deeply.

AJAX ( asynchronous JavaScript and XML )

AJAX was a dream for Developers
ajax is a JavaScript technique which we use to run a script that may
also contain server side code.
Normally when we need to run a server side code script we make
a HTTP request with URL. e.g. example.com/contact.php
But making a request with browser's URL requires a page
refresh.but when we run that script via AJAX we don't see any
page refresh and everything done behind the scenes.when we
make a AJAX request to any script we will get server response for that
request. response contains any type of client side code. e.g. HTML
CSS JavaScript.
then we can use that response for our purpose like we can show
that response to user. and response may also be JSON or XML
which we get from a web service or API like google maps.

Inambe

Phasellus facilisis convallis metus, ut imperdiet augue auctor nec. Duis at velit id augue lobortis porta. Sed varius, enim accumsan aliquam tincidunt, tortor urna vulputate quam, eget finibus urna est in augue.

No comments:

Post a Comment