Unexpected Results

0 Jose Natali · September 10, 2016
Your tutoriasl are great!!!

my problem with Holy Carp! section:

I'm using XAMPP v3.2.2 with Firefox 48.02. I got undefined error from alert(xmlHttp.StatusText);

Is XAMMP able to process this type the request without bacon.txt been a php files or do you think that I may have a typo?

thanks!

Post a Reply

Replies

Oldest  Newest  Rating
0 Sho Carter · September 10, 2016
Most likely a typo because you typed "StatusText" instead of "statusText". 
"StatusText" isn't a property of the xmlHttp request object.

Try below:
alert(xmlHttp.statusText);
  • 1

Javascript

131,160 followers
About

A scripting language that is added to standard HTML to create interactive effects, apps, games for the browser.

Links
Moderators