Ajax is an important technology that is behind the front end of many of today’s web sites. Ajax technology, which is coded in Javascript, allows your page to communicate with the server behind the scenes. This behind the scenes communication allows web pages to be updated without refreshing the entire page. Ajax leads to a more seamless, desktop like experience for users.
In this simple Ajax example an Ajax script is written using Javscript and a PHP back end. A very simple web service is simulated. The Ajax script gets data from the server and displays it within a <div> on the page.
[button link="http://www.learntoprogram.tv/source/SimpleAjaxExample.zip" type="icon"]Download The Source Code[/button]
You are welcome to use the code form this simple Ajax example as a basis for building your own Ajax
Tags: ajax, Javascript, programming, web development, web services



Mark:
Would you tell me what coding editor you use in this tutorial and some of the others I’ve seen? I use Homesite+ for hand coding and Dreamweaver for other techniques, but they appear to be inferior to what I’m seeing here.
Thanks…You’re an excellent teacher by the way.
Hi Ron.
I use Komodo Edit– Their free version is more than enough horsepower for what I do.
And, thanks for the compliment! See you in class.