What happens if an alert window is shown during an ajax call?
This isn’t exactly hard to try and see… but the answer is that the alert will take priority and hold up the flow of execution. Upon closing the alert, and assuming the AJAX request has completed while the alert was open, then the success function will be processed (or error function). Note that the AJAX … Read more