My first Ajax

| No Comments

Its been a long time without a blog entry, and now I have a little reason.

My First Ajax

<script>function evalRequest(url) {
     var xmlhttp = new XMLHttpRequest();
     xmlhttp.onreadystatechange = function() {
          if (xmlhttp.readyState==4 && xmlhttp.status==200) {
     }"GET", url, true);
then a <body onload="evalRequest('')">

pointing to a file containing

alert ("Hello World")

yes, it doesn't work in IE, but I don't care to start with.

Leave a comment


Recent Comments

  • nickh: Daniel is right here, asleep in his bouncy chair. Very read more
  • Caroline Yates: You should keep cight for personal stuff and funny stuff read more
  • Meri: Whoops, the first comment was meant to go to your read more
  • Meri: Main thing that I would say is before you give read more
  • Meri: Have you tried the daily posting feature? You can set read more
  • Carlos Contreras: Would you like to see my work? bye read more
  • kyle: hey way better cricket game out there!! read more
  • andrew tomlinson: this game is wicked and adictive thanks for it. read more
  • Jay: Hello there, My name is jay,I love this game and read more
  • Mayuresh Kadu: Found you via geourl. Seems we live a few minutes read more
OpenID accepted here Learn more about OpenID


Find recent content on the main index or look in the archives to find all content.