AJAX scripts on version 2.2.21 not working correctly
Posted by: slim (---.nycmny.east.verizon.net)
Date: February 02, 2012 06:20AM

Have script that only partially works. My XMLHttpRequest seems not to be able to get back status paraemter from localhost. I get readyState back with no problems. I have created numerious alerts and see all, but status is always a value of zero. If I modify script to not to have a request for status then all works good.

I have the same page on my web site hosted by my hosting company and my alerts show both raedyState and status for the request.

Do I have something set incorrectly in WampServer?

Slim

Options: ReplyQuote
Re: AJAX scripts on version 2.2.21 not working correctly
Posted by: RiggsFolly (---.as13285.net)
Date: February 29, 2012 10:23AM

I am just guessing here but could it be that you have coded the url used by your ajax request with the full path to the server i.e. [site.com] ?

If so change this to be a relative path i.e 'folder/code.php'.

Options: ReplyQuote


Sorry, only registered users may post in this forum.