We’ve got an ajax request that takes approx. 30 seconds and then sends the user to a different page. During that time, we of course show an ajaxy spinner indicator, but the browser can also “appear” stuck because the browser client isn’t actually working or showing it’s own loading message.
Is there an easy way to tell all major browsers to look busy with a JS command?
Thanks,
Chad
Do you need to use AJAX in this situation? Could you instead post/put to another page whose whole purpose is to process the request and once finished redirect to the destination page?
You could still use some JS to pop the spinner, and since you’re posting to another page, the brower will display its “native busy indicator”. The browser should never show the middle page, once the request has been processed the response gets redirected to the destination.