Author Options:

A-Jax - Speed - Web Developers Answered

Why use slow flash when faster better ways are there?

AJax is great, fast, and does the job.

Here is some simple code for your site:

xhr = (window.XMLHttpRequest) ? new XMLHttpRequest() : new ActiveXObject("Microsoft.xhr"); xhr.open("POST or GET", "PAGE-URI", 1); xhr.onreadystatechange = (function() { Code to run for the result.. }); Simple yes?

My site uses the code above but within lots more Javascript hacks included.
My site is http://sitegen.com.au/ My js file is minimized so to get to the code just goto http://sitegen.com.au/js.php?min=false and the same deal with my css file..


The forums are retiring in 2021 and are now closed for new topics and comments.