Forums

Ajax seems donest work very well

There is a button in my app which use ajax to send request to server. But i found the first time i clicked, it worked and i could find my print log in server log. However, it seems doesn't work when I clicked it at the second times as i couldn't find my print log anymore. Not sure what happened, it always works in my local PC.

I can't think of any obvious reason for the problem. Try opening up your browsers' developer tools (usually ctrl+shift+i), and going to the network tab to see if the request is actually going out from the client side?

https://developer.mozilla.org/en-US/docs/Tools/Tools_Toolbox

yep, seems it's network issue. Thanks!