Jump to content

Ajax call is called twice


rv20

Recommended Posts

I am using a standard ajax script(i think) so i send a query string to a php script and if i add a

 

alert(http_request.responseText);

 

at that section of the ajax js code i get 2 exact same responses.  hence the request to the php is called twice, everything else works apart from this. Any ideas what woud cause this?

 

There is nothing is the code that i have done that makes it call it twice, well nothing obvious.

 

Link to comment
https://forums.phpfreaks.com/topic/159479-ajax-call-is-called-twice/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.