Learn Ajax in 5 Mins

I am Developer from Kashmir
Search for a command to run...

I am Developer from Kashmir
No comments yet. Be the first to comment.
As a regular user of WhatsApp, I've encountered my fair share of frustrations with its updates and status feature. From constant notifications to intrusive status updates, it seemed like I couldn't catch a break. On top of that, the temptation to res...

Speedtest.net is a popular online service that lets you test the speed and performance of your internet connection. It's been on my mind for a while to see if these speed tests are accurate! I even considered creating my own speed test app for a proj...
As a software developer, one of the most important decisions you will make when starting a new project is the choice of programming language. There are many factors to consider when making this choice, such as the popularity of the language, the size...

With lots of programming language out there everyone here is getting confused about what to follow and what not to. All programming languages having their own limitations and their own pros and cons. At the beginning of this article, I will say tha...

Yes, you heard it right! You can learn AJAX in 5 mins provided you have little concept 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 much more time let’s get our hands dirty with some AJAX 🙂
Things You need:
MAIN PAGE – A page from where you will send request to another page without reloading the current one or navigating to other page
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.

parent.html

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