Javaweb solves the problem of writing the content returned by ajax with document. write, FireFox is always loaded, ajaxdocument. write
Add document. close after the document. write method to solve the problem,
If you want to know the principle, you can continue to read it.
The browser opens a stream when parsing html, which is written in document. write and is added
When the parsing is completed, that is, the DOM structure is determined, the stream is closed.
After this, using document. write will open a new stream and overwrite the previous content.
When using ajax, we usually open a new stream to overwrite the previous information. If you do not close the stream manually,
FireFox will think that the document has not been parsed, so it will continue
* If your Firef does not encounter this problem, it may be a version issue.
If the problem persists, contact me.