Ajax without the X? – Good article about combining a generic Javascript new script engine with some PHP to deliver simple AJAX interactions

If you’ve wrestled with the whole XMLHttpRequest part of AJAX you should read this article. It clearly explains the technique of appending a new Javascript SCRIPT tag into the body and using the results to display new or updated content.

But there is one problem with most of the current implementations of Ajax: it has one dependency, and that is the XmlHttpRequest object. Most modern browser, like Firefox, have inbuilt support for this object, but older browsers, like Internet Explorer 6, don’t have native support for this object. Luckily, IE 6 does support it, but it’s built in as an ActiveX control, which means your visitors get an ugly warning message about the possible danger of an ActiveX control, or in some cases it just doesn’t work at all.

In this tutorial, I will show you how to use Ajax without even having to use the XmlHttpRequest object.

Read the article: PHPit – Totally PHP – Ajax & PHP without using the XmlHttpRequest Object

Via digg where there’s some good discussion going on about this technique.

3 Responses to Ajax without the X? – Good article about combining a generic Javascript new script engine with some PHP to deliver simple AJAX interactions
  1. D. Sanchez
    July 18, 2006 | 11:05 am

    Your idea for a website is great, but cluttered with crap and CSS problems. You have no less then 9 stupid little tag ‘gif’s placed around your site. Looks crappy and clutters up the site.

  2. jappler.com » ajax.
    January 13, 2006 | 3:35 pm

    […] AJAX blog […]

  3. […] Ajax tutorials on AJAXblog.com. […]