It's a browser game that is going well but the Ajax requests sometimes don't complete, or rather they complete, but the text to be updated doesn't always update, mainly in Chrome. Any ideas? The game is in PHP now, but could be implemented in Java at some point. Thank you kindly in advance.
Yes I have used the JS console, but there are no errors being thrown. In fact, what happens is that everything basically works, but every so often if I leave the web page for a while and then come back and press a button that triggers an AJAX request, nothing happens visually... The process goes through on the back-end, but on the front-end there is no manifestation until the page is refreshed. This only happens once in a while, and I'm wondering if that's a normal thing with AJAX, or is there truly some bad code that's to blame. Thank you.
In the cases where it's not working, have you checked the response to see if it contains what it should? Just looking for console errors is not enough.
Joined: Apr 16, 2011