I used the Chapter 11 book code last week in Xampp after installing Xampp and it worked.
This week I tried it out and it didn't work.
I rebooted and removed IIS which was on my computer, but that didn't work either.
After doing a bit of debugging, it turned out that the Ajax status code was 0.
I changed the test.js code so that it worked with a status = 0 ( || (ajax.status == 0) ). And now it works again.
So what whould make the status code turn into 0 from last week?
Or, in other words, what makes the ajax status equal 0 to begin with?
Confusing...
Thanks.