A webpage that makes an ajax call, then jumps to a new page works using Chrome but does not work with Firefox.
Does Firefox require that a page remain active in the browser until the ajax call finishes? Is there any documentation that explains what Firefox requires to always successfully use javascript ajax calls to external API's?
Does Firefox require that a page remain active in the browser until the ajax call finishes?
Is there any documentation that explains what Firefox requires to always successfully use javascript ajax calls to external API's?
Todas las respuestas (2)
Pending requests of all kinds may be terminated when the page is unloaded. I imagine you could do your navigation in a callback when the request returns. But there should be plenty of advice on sites like StackExchange since this is quite an old behavior.
Try to ask advice at the Stack Overflow forum site.