Firefox does not support the onreadystatechange event of iframe. Let me debug this in the afternoon. . .
Post the code directly
What I want to do here is to generate an iframe first, and trigger this event when I want to load content in it. The code can be clearly seen. The onload method is used instead.