Salman Qureshi/Learn Ajax in 5 Mins

Created Wed, 29 Aug 2018 20:16:52 +0530 Modified Sun, 26 Jun 2022 20:23:03 +0530
247 Words

Yes you heard it right! You can learn AJAX in 5 mins provided you have little concepts of javaScript and jQuery.

The method I am sharing with you right now will probably boot your AJAX skills.

Just for the record:

AJAX is a developer’s dream, because you can:

  • Update a web page without reloading the page
  • Request data from a server – after the page has loaded
  • Receive data from a server – after the page has loaded
  • Send data to a server – in the background

So without wasting your much more time let’s get our hands dirty with some AJAX 🙂

Things You need:

  1. MAIN PAGE – A page from where you will send request to another page without reloading current one or navigating to other page

  2. SOURCE PAGE – It’s generally written in server side scripting language eg. PHP

Now We are done, the key part is server side scripting language needs fully executed just like loading new web page but it doesn’t look dynamic so AJAX comes into play.

JUST FOCUS FOLLOWING 2 PARTS TO GET ENOUGH ABOUT AJAX.

  1. parentpage.html

parent.html

  1. source.php

source.php

Don’t worry the source code of these two files are available HERE on my github repository!

If you have any query or suggestions Drop your responses below in comments. I will be happy to help you 🙂

This article was recovered from my old blog salmanually.com and reposted here on (26/06/2022) Check orgiginal Archive.org - wayback version of this post