In the MVC project, when you click on submit , a POST occurs, so that the user did not press anything while saving the data, a document.write screensaver containing a <div> screensaver was made: "Blah blah, keep waiting" .
In all browsers, everything works out the rules, there is a post, during the post saver, and how everything is preserved - the page is updated and document.write disappears.
The problem is that in Firefox, when the splash screen appears, when you click on submit , the post does not occur and the program just hangs endlessly spinning the splash screen. As soon as I remove the screensaver from the code, everything works and the post happens.
Help solve the problem, what's the error: in Firefox itself or document.write ? and what alternative can replace ???