• About Us
  • Classroom Training
  • Online Training
    • Self Paced Courses
      • HTML and CSS For Beginners (with HTML5)!
      • Javascript for Beginners
      • C Programming: iOS Development Starts Here!
      • Objective C For Beginners
      • PHP MySQL For Beginners
      • Web Development Code Camp
    • Live Instructor Courses
      • HTML and CSS with HTML 5 (Live)
      • Javascript for Beginners (Live)
      • C Programming for Beginners (Live)
      • Objective C for Beginners(Live)
      • Android Development Code Camp (Live)
      • iOS Development Code Camp (Live)
      • HTML5 & Advanced Client Side Development (Live)
      • Actionscript for Beginners (Live)
  • Forum
  • Testimonials
  • Contact Us
    • Actionscript
    • Android
    • C/C++/Objective C
    • HTML/CSS
    • iOS
    • Java
    • Javascript
    • PHP
Home > Ajax > Simple Ajax Example

Simple Ajax Example

Posted by Mark Lassoff on July 27th, 2011 ajax, Javascript, programming, web development, web services
| 2 Comments

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

2 Responses

  1. Ron Goldberg says:
    October 21, 2011 at 2:06 pm

    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.

    Reply
    • Mark Lassoff says:
      October 21, 2011 at 2:09 pm

      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.

      Reply

Leave a Reply

Click here to cancel reply.

Join our mailing list

Free video tutorials, course information and more!

* required

Email Address *

First Name

Last Name:

Email Marketing Software by VerticalResponse
Apple Store Facebook Google+ LinkedIn RSS Feed Twitter YouTube
Provided by The Social Links

Like Us!

Live Online Course

Online event registration powered by Eventbrite

Self Paced Course

What is ?

We train software, web and mobile developers. Our classes geared to the way adults learn are available online, or in-person at your office or training center.

New Android Book

Android Programming Code Camp by Mark Lassoff. Coming in 2012. Finally, a true beginners book on Android programming and development. No Experience required.

Email me when the book is available

On Learning

  • Top Languages Used in Web Development
  • How To Learn a Programming Language: 5 Tips
©LearnToProgram.tv 2012 .All rights reserved.