开发者

Uncomplete ajax doesn't allow me to navigate to another page

开发者 https://www.devze.com 2023-03-02 00:27 出处:网络
I have a ajax request to a php with an infinite loop. Its an infinite loop because it waits for an event. The thing is that after i click开发者_如何学Go on another page its not working, the browser is

I have a ajax request to a php with an infinite loop. Its an infinite loop because it waits for an event. The thing is that after i click开发者_如何学Go on another page its not working, the browser is loading until the ajax requests finishes. I need if you change the page close the page and move on.


Infinite loop is a bad way to achieve event-driven architecture. What are you trying to accomplish here?

0

精彩评论

暂无评论...
验证码 换一张
取 消